Files
unity-actions/get-manual-license-file/entrypoint.sh
2019-11-04 21:53:48 +01:00

16 lines
382 B
Bash

#!/usr/bin/env bash
set -e
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
/opt/Unity/Editor/Unity \
-batchmode \
-nographics \
-logFile /dev/stdout \
-createManualActivationFile
echo "Use this file for manual activation and add it to \$UNITY_LICENSE variabe."
cat Unity_v2019.2.11f1.alf
cp Unity_v2019.2.11f1.alf $HOME/Unity_v2019.2.11f1.alf