Split up steps and implement license management

This commit is contained in:
Webber
2020-01-29 23:37:11 +01:00
committed by Webber Takken
parent 2d11601618
commit 2ca91788af
5 changed files with 292 additions and 165 deletions

View File

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