Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix inno dir (#34116)

localccde0e6f716c10
diff --git a/script/bundle-windows.ps1 b/script/bundle-windows.ps1
index 9b61d220cf7..dc0bdb9b7d4 100644
--- a/script/bundle-windows.ps1
+++ b/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