From ecd5452fb629458c2a136b157f154ac0df26b3f9 Mon Sep 17 00:00:00 2001 From: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Date: Sun, 21 Jan 2024 02:10:20 -0800 Subject: [PATCH] Wrap quotes --- dist/platforms/windows/build.ps1 | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/dist/platforms/windows/build.ps1 b/dist/platforms/windows/build.ps1 index 52b16726..0a85d346 100644 --- a/dist/platforms/windows/build.ps1 +++ b/dist/platforms/windows/build.ps1 @@ -137,20 +137,20 @@ $unityArgs = @( "-batchmode", "-nographics", "-silent-crashes", - "-customBuildName", "$Env:BUILD_NAME", - "-projectPath", "$Env:UNITY_PROJECT_PATH", - "-executeMethod", "$Env:BUILD_METHOD", - "-buildTarget", "$Env:BUILD_TARGET", - "-customBuildTarget", "$Env:BUILD_TARGET", - "-customBuildPath", "$Env:CUSTOM_BUILD_PATH", - "-buildVersion", "$Env:VERSION", - "-androidVersionCode", "$Env:ANDROID_VERSION_CODE", - "-androidKeystorePass", "$Env:ANDROID_KEYSTORE_PASS", - "-androidKeyaliasName", "$Env:ANDROID_KEYALIAS_NAME", - "-androidKeyaliasPass", "$Env:ANDROID_KEYALIAS_PASS", - "-androidTargetSdkVersion", "$Env:ANDROID_TARGET_SDK_VERSION", - "-androidExportType", "$Env:ANDROID_EXPORT_TYPE", - "-androidSymbolType", "$Env:ANDROID_SYMBOL_TYPE", + "-customBuildName", "`"$Env:BUILD_NAME`"", + "-projectPath", "`"$Env:UNITY_PROJECT_PATH`"", + "-executeMethod", "`"$Env:BUILD_METHOD`"", + "-buildTarget", "`"$Env:BUILD_TARGET`"", + "-customBuildTarget", "`"$Env:BUILD_TARGET`"", + "-customBuildPath", "`"$Env:CUSTOM_BUILD_PATH`"", + "-buildVersion", "`"$Env:VERSION`"", + "-androidVersionCode", "`"$Env:ANDROID_VERSION_CODE`"", + "-androidKeystorePass", "`"$Env:ANDROID_KEYSTORE_PASS`"", + "-androidKeyaliasName", "`"$Env:ANDROID_KEYALIAS_NAME`"", + "-androidKeyaliasPass", "`"$Env:ANDROID_KEYALIAS_PASS`"", + "-androidTargetSdkVersion", "`"$Env:ANDROID_TARGET_SDK_VERSION`"", + "-androidExportType", "`"$Env:ANDROID_EXPORT_TYPE`"", + "-androidSymbolType", "`"$Env:ANDROID_SYMBOL_TYPE`"", "-logfile", "-" ) + $customParametersArray