diff --git a/dist/index.js b/dist/index.js index 44232ca2..261824a1 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index f5a90303..dcf60dbe 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/dist/platforms/mac/steps/build.sh b/dist/platforms/mac/steps/build.sh index 8fd98f69..8124cf20 100755 --- a/dist/platforms/mac/steps/build.sh +++ b/dist/platforms/mac/steps/build.sh @@ -129,7 +129,7 @@ echo "" /Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \ -logFile - \ - -quit \ + $( [ "${MANUAL_EXIT}" == "true" ] || echo "-quit" ) \ -batchmode \ -nographics \ -username "$UNITY_EMAIL" \ diff --git a/src/model/platform-setup/setup-mac.ts b/src/model/platform-setup/setup-mac.ts index 70ce06f8..3224fe3b 100644 --- a/src/model/platform-setup/setup-mac.ts +++ b/src/model/platform-setup/setup-mac.ts @@ -187,6 +187,7 @@ class SetupMac { process.env.ANDROID_SYMBOL_TYPE = buildParameters.androidSymbolType; process.env.CUSTOM_PARAMETERS = buildParameters.customParameters; process.env.CHOWN_FILES_TO = buildParameters.chownFilesTo; + process.env.MANUAL_EXIT = buildParameters.manualExit.toString(); } }