This commit is contained in:
2023-03-19 00:30:33 -07:00
parent f38ba5f961
commit 07b60c53f9
4 changed files with 10 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ EOF
fi
#Activate Unity
if [[ "$SERIAL" == "public" ]]; then
if [[ "$SERIAL" == "personal" ]]; then
UnityBuilder activate -i /usr/bin/unity-editor -u $EMAIL -p $PASSWORD
else
unity-editor $DEFAULT_ARGS -serial $SERIAL -username $EMAIL -password $PASSWORD
@@ -32,3 +32,7 @@ fi
#Run the command.
unity-editor $DEFAULT_ARGS $COMMAND
while true; do
sleep 1
done