From 40463d3b61399ca9b8a918b21577650cee83e5b7 Mon Sep 17 00:00:00 2001 From: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Date: Wed, 26 Jan 2022 17:16:50 -0800 Subject: [PATCH] Remove project path --- dist/platforms/mac/steps/activate.sh | 6 +----- dist/platforms/mac/steps/return_license.sh | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/dist/platforms/mac/steps/activate.sh b/dist/platforms/mac/steps/activate.sh index e81b1cbb..a3def9f3 100755 --- a/dist/platforms/mac/steps/activate.sh +++ b/dist/platforms/mac/steps/activate.sh @@ -2,9 +2,6 @@ echo "Requesting activation" -# Need this because it tries to initialize the library when activating -UNITY_PROJECT_PATH="$GITHUB_WORKSPACE/$PROJECT_PATH" - # Activate license /Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \ -logFile /dev/stdout \ @@ -13,8 +10,7 @@ UNITY_PROJECT_PATH="$GITHUB_WORKSPACE/$PROJECT_PATH" -quit \ -serial "$UNITY_SERIAL" \ -username "$UNITY_EMAIL" \ - -password "$UNITY_PASSWORD" \ - -projectPath "$UNITY_PROJECT_PATH" + -password "$UNITY_PASSWORD" # Store the exit code from the verify command UNITY_EXIT_CODE=$? diff --git a/dist/platforms/mac/steps/return_license.sh b/dist/platforms/mac/steps/return_license.sh index f31adb52..2d2b5a99 100755 --- a/dist/platforms/mac/steps/return_license.sh +++ b/dist/platforms/mac/steps/return_license.sh @@ -8,5 +8,4 @@ UNITY_PROJECT_PATH="$GITHUB_WORKSPACE/$PROJECT_PATH" -batchmode \ -nographics \ -quit \ - -returnlicense \ - -projectPath "$UNITY_PROJECT_PATH" + -returnlicense