feat(core): implement windows sandbox expansion and denial detection (#24027)

This commit is contained in:
Tommaso Sciortino
2026-03-27 15:35:01 -07:00
committed by GitHub
parent 4034c030e7
commit 9e74a7ec18
5 changed files with 175 additions and 22 deletions
@@ -33,7 +33,7 @@ export function createSandboxManager(
}
if (sandbox?.enabled) {
if (os.platform() === 'win32' && sandbox?.command === 'windows-native') {
if (os.platform() === 'win32') {
return new WindowsSandboxManager(options);
} else if (os.platform() === 'linux') {
return new LinuxSandboxManager(options);