fix(actions): add macOS specific settings for bundle identifier and display name
This commit is contained in:
parent
2b40fb0394
commit
6b128e8cb4
@ -338,3 +338,26 @@ NearClipPlane=0.100000
|
||||
bFinalUsesRDO=True
|
||||
FinalRDOLambda=100
|
||||
|
||||
[/Script/MacTargetPlatform.MacTargetSettings]
|
||||
TargetedRHIs=SF_METAL_SM5
|
||||
MetalLanguageVersion=5
|
||||
MaxShaderLanguageVersion=4
|
||||
MinimumOSVersion=11
|
||||
BundleName=LuckyWorld
|
||||
BundleDisplayName=LuckyWorld
|
||||
bEnableMathOptimizations=True
|
||||
UseFastIntrinsics=True
|
||||
EnableMipGenOption=Default
|
||||
FrameRateLock=PUFRL_None
|
||||
AudioSampleRate=48000
|
||||
AudioMaxChannels=32
|
||||
bUseCustomIcon=False
|
||||
bUseMiniUPnP=False
|
||||
MetalDynamicLibraries=()
|
||||
MetalRuntimeLibrary=1
|
||||
OutputRealFPS=False
|
||||
bBuildEmbeddedFrameworksForGame=False
|
||||
EnableCodeCoverage=False
|
||||
EnableCodeCoveragePath=(Path="")
|
||||
ForwardShading=False
|
||||
UseFastCopyToResolve=True
|
||||
|
@ -18,5 +18,14 @@ public class LuckyWorldTarget : TargetRules
|
||||
{
|
||||
this.bUseLoggingInShipping = true;
|
||||
}
|
||||
|
||||
// macOS specific settings
|
||||
if (Target.Platform == UnrealTargetPlatform.Mac)
|
||||
{
|
||||
// Force use the bundle ID from DefaultGame.ini
|
||||
GlobalDefinitions.Add("APP_BUNDLE_IDENTIFIER=com.luckyrobots.luckyworld");
|
||||
GlobalDefinitions.Add("APP_BUNDLE_NAME=LuckyWorld");
|
||||
GlobalDefinitions.Add("APP_BUNDLE_DISPLAY_NAME=LuckyWorld");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -19,5 +19,13 @@ public class LuckyWorld : ModuleRules
|
||||
// PrivateDependencyModuleNames.Add("OnlineSubsystem");
|
||||
|
||||
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
|
||||
|
||||
// Set the bundle identifier for macOS builds
|
||||
if (Target.Platform == UnrealTargetPlatform.Mac)
|
||||
{
|
||||
PublicDefinitions.Add("APP_BUNDLE_IDENTIFIER=com.luckyrobots.luckyworld");
|
||||
PublicDefinitions.Add("APP_BUNDLE_NAME=LuckyWorld");
|
||||
PublicDefinitions.Add("APP_BUNDLE_DISPLAY_NAME=LuckyWorld");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user