mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Copy over licensing server config to correct directory
This commit is contained in:
parent
b732f72939
commit
013aae0cb2
3
dist/platforms/mac/steps/activate.sh
vendored
3
dist/platforms/mac/steps/activate.sh
vendored
@ -11,7 +11,8 @@ if [[ -n "$UNITY_LICENSING_SERVER" ]]; then
|
||||
# Custom Unity License Server
|
||||
#
|
||||
echo "Adding licensing server config"
|
||||
|
||||
cat "$ACTION_FOLDER/services-config.json"
|
||||
cp "$ACTION_FOLDER/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 #is this accessible in a env variable?
|
||||
cat license.txt
|
||||
PARSEDFILE=$(grep -oE '\".*?\"' < license.txt | tr -d '"')
|
||||
|
Loading…
Reference in New Issue
Block a user