Remove debug strings

This commit is contained in:
Simen Sandvaer 2023-09-19 19:50:03 +02:00
parent 805125f320
commit acfb318a47
2 changed files with 1 additions and 26 deletions

View File

@ -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

View File

@ -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 \