Remove -nographics flag, ensure -batchmode

pull/261/head
Webber 2021-05-20 00:46:12 +02:00
parent f0e18ea3a5
commit c0b6ee391a
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
ACTIVATION_OUTPUT=$(unity-editor \
-nographics \
-batchmode \
-logFile /dev/stdout \
-quit \
-manualLicenseFile $FILE_PATH)
@ -63,7 +63,6 @@ elif [[ -n "$UNITY_SERIAL" && -n "$UNITY_EMAIL" && -n "$UNITY_PASSWORD" ]]; then
# Activate license
unity-editor \
-batchmode \
-nographics \
-logFile /dev/stdout \
-quit \
-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
unity-editor \
-nographics \
-batchmode \
-logfile /dev/stdout \
-quit \
-customBuildName "$BUILD_NAME" \

View File

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