Fix Engine.LaunchPath for macOS compatibility builds.

This commit is contained in:
Paul Chote
2021-07-17 22:35:47 +01:00
committed by teinarss
parent be3412ee74
commit 278a4acf96

View File

@@ -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 *launchPath = [SYSTEM_MONO_PATH stringByAppendingPathComponent: @"Commands/mono"];
NSString *appPath = [exePath stringByAppendingPathComponent: @"OpenRA"];
NSString *appPath = [exePath stringByAppendingPathComponent: @"Launcher"];
NSString *engineLaunchPath = [self resolveTranslocatedPath: appPath];
NSMutableArray *launchArgs = [NSMutableArray arrayWithCapacity: [gameArgs count] + 2];