Merge pull request #386 from muzea/hotfix/windows-default-env

fix: add windows env PROGRAMFILES, avoid some exe can not be found
This commit is contained in:
Felix Weinberger 2025-06-27 15:54:19 +01:00 • committed by GitHub
commit 191c2cbb0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"];