Remove -nographics flag, ensure -batchmode

pull/263/head
Webber 2021-05-20 00:46:12 +02:00
parent 947c8b8e20
commit 45bcd62cf9
3 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@ if [[ -n "$UNITY_LICENSE" ]] || [[ -n "$UNITY_LICENSE_FILE" ]]; then
# Activate license # Activate license
ACTIVATION_OUTPUT=$(unity-editor \ ACTIVATION_OUTPUT=$(unity-editor \
-nographics \ -batchmode \
-logFile /dev/stdout \ -logFile /dev/stdout \
-quit \ -quit \
-manualLicenseFile $FILE_PATH) -manualLicenseFile $FILE_PATH)
@ -63,7 +63,6 @@ elif [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then
# Activate license # Activate license
unity-editor \ unity-editor \
-batchmode \ -batchmode \
-nographics \
-logFile /dev/stdout \ -logFile /dev/stdout \
-quit \ -quit \
-serial "$UNITY_SERIAL" \ -serial "$UNITY_SERIAL" \

2
dist/steps/build.sh vendored
View File

@ -116,7 +116,7 @@ echo ""
# Reference: https://docs.unity3d.com/2019.3/Documentation/Manual/CommandLineArguments.html # Reference: https://docs.unity3d.com/2019.3/Documentation/Manual/CommandLineArguments.html
unity-editor \ unity-editor \
-nographics \ -batchmode \
-logfile /dev/stdout \ -logfile /dev/stdout \
-quit \ -quit \
-customBuildName "$BUILD_NAME" \ -customBuildName "$BUILD_NAME" \

View File

@ -7,7 +7,7 @@ if [[ -n "$UNITY_SERIAL" ]]; then
# This will return the license that is currently in use. # This will return the license that is currently in use.
# #
unity-editor \ unity-editor \
-nographics \ -batchmode \
-logFile /dev/stdout \ -logFile /dev/stdout \
-quit \ -quit \
-returnlicense -returnlicense