Skip to content

Commit 5ba8197

Browse files
authored
Fixed manualExit option on Mac machines (#619)
1 parent ff23166 commit 5ba8197

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

dist/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/platforms/mac/steps/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ echo ""
129129

130130
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \
131131
-logFile - \
132-
-quit \
132+
$( [ "${MANUAL_EXIT}" == "true" ] || echo "-quit" ) \
133133
-batchmode \
134134
-nographics \
135135
-username "$UNITY_EMAIL" \

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

+1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ class SetupMac {
187187
process.env.ANDROID_SYMBOL_TYPE = buildParameters.androidSymbolType;
188188
process.env.CUSTOM_PARAMETERS = buildParameters.customParameters;
189189
process.env.CHOWN_FILES_TO = buildParameters.chownFilesTo;
190+
process.env.MANUAL_EXIT = buildParameters.manualExit.toString();
190191
}
191192
}
192193

0 commit comments

Comments
 (0)