From acfb318a4795b60eb48edf7777bcfd50d21187f4 Mon Sep 17 00:00:00 2001 From: Simen Sandvaer Date: Tue, 19 Sep 2023 19:50:03 +0200 Subject: [PATCH] Remove debug strings --- dist/platforms/mac/steps/activate.sh | 6 +----- dist/platforms/mac/steps/build.sh | 21 --------------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/dist/platforms/mac/steps/activate.sh b/dist/platforms/mac/steps/activate.sh index 51f23d87..ee9953e7 100755 --- a/dist/platforms/mac/steps/activate.sh +++ b/dist/platforms/mac/steps/activate.sh @@ -11,14 +11,10 @@ if [[ -n "$UNITY_LICENSING_SERVER" ]]; then # Custom Unity License Server # echo "Adding licensing server config" - pushd "$ACTION_FOLDER" - ls - popd cat "$ACTION_FOLDER/unity-config/services-config.json" 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 #is this accessible in a env variable? - cat license.txt + /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 diff --git a/dist/platforms/mac/steps/build.sh b/dist/platforms/mac/steps/build.sh index baee4ae5..50727059 100755 --- a/dist/platforms/mac/steps/build.sh +++ b/dist/platforms/mac/steps/build.sh @@ -127,27 +127,6 @@ echo "" # Reference: https://docs.unity3d.com/2019.3/Documentation/Manual/CommandLineArguments.html -cat << UnityString -/Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \ - -logFile - \ - -quit \ - -customBuildName "$BUILD_NAME" \ - -projectPath "$UNITY_PROJECT_PATH" \ - -buildTarget "$BUILD_TARGET" \ - -customBuildTarget "$BUILD_TARGET" \ - -customBuildPath "$CUSTOM_BUILD_PATH" \ - -executeMethod "$BUILD_METHOD" \ - -buildVersion "$VERSION" \ - -androidVersionCode "$ANDROID_VERSION_CODE" \ - -androidKeystoreName "$ANDROID_KEYSTORE_NAME" \ - -androidKeystorePass "$ANDROID_KEYSTORE_PASS" \ - -androidKeyaliasName "$ANDROID_KEYALIAS_NAME" \ - -androidKeyaliasPass "$ANDROID_KEYALIAS_PASS" \ - -androidTargetSdkVersion "$ANDROID_TARGET_SDK_VERSION" \ - -androidExportType "$ANDROID_EXPORT_TYPE" \ - -androidSymbolType "$ANDROID_SYMBOL_TYPE" \ - $CUSTOM_PARAMETERS" -UnityString /Applications/Unity/Hub/Editor/$UNITY_VERSION/Unity.app/Contents/MacOS/Unity \ -logFile - \ -quit \