Update src/model/platform-setup/setup-mac.ts

Co-authored-by: Webber Takken <webber.nl@gmail.com>
pull/326/head
AndrewKahr 2022-02-01 15:42:29 -08:00 committed by GitHub
parent d23e37b905
commit 80b1d4bd11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ class SetupMac {
--module mac-il2cpp \
--childModules`;
//Ignoring return code because the log seems to overflow the internal buffer which triggers
//a false error
// Ignoring return code because the log seems to overflow the internal buffer which triggers
// a false error
const errorCode = await exec(command, undefined, { silent, ignoreReturnCode: true });
if (errorCode) {
throw new Error(`There was an error installing the Unity Editor. See logs above for details.`);
@ -47,8 +47,8 @@ class SetupMac {
}
private static async setEnvironmentVariables(buildParameters: BuildParameters, actionFolder: string) {
//Need to set environment variables from here because we execute
//the scripts on the host for mac
// Need to set environment variables from here because we execute
// the scripts on the host for mac
process.env.ACTION_FOLDER = actionFolder;
process.env.UNITY_VERSION = buildParameters.version;
process.env.UNITY_SERIAL = buildParameters.unitySerial;