Before buildx test
This commit is contained in:
13
unity-command/scripts/activate_license.sh
Normal file
13
unity-command/scripts/activate_license.sh
Normal 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
|
||||
Reference in New Issue
Block a user