Comment out the removal of items in the deploy folder in the Windows install script to prevent accidental deletion during installation.

This commit is contained in:
Joe 2025-12-20 20:51:11 -06:00
parent a598416d74
commit 7a7243f78a

View file

@ -9,6 +9,6 @@ cargo build "--$Mode"
if ($LASTEXITCODE -ne 0) { throw "Plugin build failed" } if ($LASTEXITCODE -ne 0) { throw "Plugin build failed" }
gsudo { gsudo {
Stop-Process -Name "rojo" -Force -ErrorAction SilentlyContinue Stop-Process -Name "rojo" -Force -ErrorAction SilentlyContinue
Remove-Item "$DeployFolder\*" -Recurse -Force #Remove-Item "$DeployFolder\*" -Recurse -Force
Copy-Item ".\target\$Mode\rojo.exe" "$DeployFolder\" Copy-Item ".\target\$Mode\rojo.exe" "$DeployFolder\"
} }