mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-24 03:54:43 -07:00
feat(core): implement windows sandbox expansion and denial detection (#24027)
This commit is contained in:
committed by
GitHub
parent
4034c030e7
commit
9e74a7ec18
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user