Remove -nographics flag, ensure single -batchmode flag (#261)

* Remove -nographics flag, ensure -batchmode

* Remove explicit batch mode

* Add libnotify4 and bin for notify-send

* non-interactive frontend

* Move docker changes to base image (docker repo)
This commit is contained in:
Webber Takken 2021-05-22 21:07:54 +02:00 committed by GitHub
parent f0e18ea3a5
commit 9fff362775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 5 deletions

View File

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

1
dist/steps/build.sh vendored
View File

@ -116,7 +116,6 @@ 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 \
-logfile /dev/stdout \ -logfile /dev/stdout \
-quit \ -quit \
-customBuildName "$BUILD_NAME" \ -customBuildName "$BUILD_NAME" \

View File

@ -7,7 +7,6 @@ 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 \
-logFile /dev/stdout \ -logFile /dev/stdout \
-quit \ -quit \
-returnlicense -returnlicense