Fix Engine.LaunchPath for macOS compatibility builds.
This commit is contained in:
@@ -257,7 +257,7 @@ static int check_mono_version(const char *version, const char *req_version)
|
|||||||
NSString *gamePath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent: @"Contents/Resources/"];
|
NSString *gamePath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent: @"Contents/Resources/"];
|
||||||
|
|
||||||
NSString *launchPath = [SYSTEM_MONO_PATH stringByAppendingPathComponent: @"Commands/mono"];
|
NSString *launchPath = [SYSTEM_MONO_PATH stringByAppendingPathComponent: @"Commands/mono"];
|
||||||
NSString *appPath = [exePath stringByAppendingPathComponent: @"OpenRA"];
|
NSString *appPath = [exePath stringByAppendingPathComponent: @"Launcher"];
|
||||||
NSString *engineLaunchPath = [self resolveTranslocatedPath: appPath];
|
NSString *engineLaunchPath = [self resolveTranslocatedPath: appPath];
|
||||||
|
|
||||||
NSMutableArray *launchArgs = [NSMutableArray arrayWithCapacity: [gameArgs count] + 2];
|
NSMutableArray *launchArgs = [NSMutableArray arrayWithCapacity: [gameArgs count] + 2];
|
||||||
|
|||||||
Reference in New Issue
Block a user