From 45bcd62cf9aab1075e4f77b703ea24f37ff97a7a Mon Sep 17 00:00:00 2001 From: Webber Date: Thu, 20 May 2021 00:46:12 +0200 Subject: [PATCH] Remove -nographics flag, ensure -batchmode --- dist/steps/activate.sh | 3 +-- dist/steps/build.sh | 2 +- dist/steps/return_license.sh | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dist/steps/activate.sh b/dist/steps/activate.sh index c97a7811..c75a0c00 100755 --- a/dist/steps/activate.sh +++ b/dist/steps/activate.sh @@ -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" \ diff --git a/dist/steps/build.sh b/dist/steps/build.sh index 7b6c4913..aa9a9371 100755 --- a/dist/steps/build.sh +++ b/dist/steps/build.sh @@ -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" \ diff --git a/dist/steps/return_license.sh b/dist/steps/return_license.sh index d5e97e24..307251bd 100755 --- a/dist/steps/return_license.sh +++ b/dist/steps/return_license.sh @@ -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