mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Fix indentation and slightly improve readability in activate.sh
This commit is contained in:
parent
cfe4a6236a
commit
3bf512a9a6
7
dist/platforms/mac/steps/activate.sh
vendored
7
dist/platforms/mac/steps/activate.sh
vendored
@ -12,8 +12,11 @@ if [[ -n "$UNITY_LICENSING_SERVER" ]]; then
|
||||
#
|
||||
echo "Adding licensing server config"
|
||||
mkdir -p "/Library/Application Support/Unity/config/"
|
||||
cp "$ACTION_FOLDER/unity-config/services-config.json" "/Library/Application Support/Unity/config/services-config.json"
|
||||
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/MacOS/Unity.Licensing.Client --acquire-floating > license.txt
|
||||
cp \
|
||||
"$ACTION_FOLDER/unity-config/services-config.json" \
|
||||
"/Library/Application Support/Unity/config/services-config.json"
|
||||
/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/Frameworks/UnityLicensingClient.app/Contents/MacOS/Unity.Licensing.Client \
|
||||
--acquire-floating > license.txt
|
||||
PARSEDFILE=$(grep -oE '\".*?\"' < license.txt | tr -d '"')
|
||||
grep -oE '\".*?\"' < license.txt
|
||||
export FLOATING_LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user