windows: changes to install/upgrade/uninstallation process (#9025)

This commit is contained in:
dave caruso
2024-02-27 03:11:43 -08:00
committed by GitHub
parent fd6fd78f0f
commit 4e2d00d052
13 changed files with 430 additions and 130 deletions

View File

@@ -829,7 +829,7 @@ fn scopedWriter() std.fs.File.Writer {
std.fs.cwd().fd,
path,
std.os.O.TRUNC | std.os.O.CREAT | std.os.O.WRONLY,
0o644,
if (Environment.isWindows) 0 else 0o644,
) catch |err_| {
// Ensure we don't panic inside panic
Scoped.loaded_env = false;