Before buildx test

This commit is contained in:
2023-03-25 16:33:13 -07:00
parent 5f5f3c642c
commit 40fd87e4b9
4 changed files with 43 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
SERIAL=$1; EMAIL=$2; PASSWORD=$3;
if [[ -z "$SERIAL" || -z "$EMAIL" || -z "$PASSWORD" ]]; then
exit 0
fi
#Activate Unity
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
fi