fix: add windows env PROGRAMFILES, avoid some exe can not be found

This commit is contained in:
muzea 2025-04-23 14:41:58 +08:00
commit 52476aa297

View file

@ -56,6 +56,7 @@ export const DEFAULT_INHERITED_ENV_VARS =
"TEMP",
"USERNAME",
"USERPROFILE",
"PROGRAMFILES",
]
: /* list inspired by the default env inheritance of sudo */
["HOME", "LOGNAME", "PATH", "SHELL", "TERM", "USER"];