From 851550c505a9e5e15085d284bc1728777fe40b25 Mon Sep 17 00:00:00 2001 From: simensan Date: Mon, 18 Sep 2023 12:06:54 +0200 Subject: [PATCH] Wrong directory for config --- dist/platforms/mac/steps/activate.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/platforms/mac/steps/activate.sh b/dist/platforms/mac/steps/activate.sh index 64a18d20..f50da399 100755 --- a/dist/platforms/mac/steps/activate.sh +++ b/dist/platforms/mac/steps/activate.sh @@ -11,8 +11,11 @@ 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" + pushd "$ACTION_FOLDER" + ls + popd + cat "$ACTION_FOLDER/unity-config/services-config.json" + 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 #is this accessible in a env variable? cat license.txt PARSEDFILE=$(grep -oE '\".*?\"' < license.txt | tr -d '"')