From 013aae0cb26007d4feec4bd6a995dd1ab32a1c39 Mon Sep 17 00:00:00 2001 From: simensan Date: Mon, 18 Sep 2023 12:01:44 +0200 Subject: [PATCH] Copy over licensing server config to correct directory --- dist/platforms/mac/steps/activate.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/platforms/mac/steps/activate.sh b/dist/platforms/mac/steps/activate.sh index 41c44c1c..64a18d20 100755 --- a/dist/platforms/mac/steps/activate.sh +++ b/dist/platforms/mac/steps/activate.sh @@ -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 '"')