Fix inno dir (#34116)

localcc created

Fix inno dir for nightly builds

Release Notes:

- N/A

Change summary

script/bundle-windows.ps1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

script/bundle-windows.ps1 🔗

@@ -44,8 +44,6 @@ function CheckEnvironmentVariables {
     }
 }
 
-$innoDir = "$env:ZED_WORKSPACE\inno"
-
 function PrepareForBundle {
     if (Test-Path "$innoDir") {
         Remove-Item -Path "$innoDir" -Recurse -Force
@@ -236,6 +234,8 @@ function BuildInstaller {
 }
 
 ParseZedWorkspace
+$innoDir = "$env:ZED_WORKSPACE\inno"
+
 CheckEnvironmentVariables
 PrepareForBundle
 BuildZedAndItsFriends