fix(license): only return the license in pro mode

This commit is contained in:
Jibbajabbafic 2020-01-12 19:17:07 +00:00 committed by Webber Takken
parent 0badec78bf
commit 2d3095660d

View File

@ -1,14 +1,16 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# if [[ -n "$UNITY_SERIAL" ]]; then
# PROFESSIONAL (SERIAL) LICENSE MODE #
# # PROFESSIONAL (SERIAL) LICENSE MODE
# This will return the license that is currently in use. #
# # This will return the license that is currently in use.
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \ #
/opt/Unity/Editor/Unity \ xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
-batchmode \ /opt/Unity/Editor/Unity \
-nographics \ -batchmode \
-logFile /dev/stdout \ -nographics \
-quit \ -logFile /dev/stdout \
-returnlicense -quit \
-returnlicense
fi