allow apps to specify cwd for sandbox setup. (#13484)

The electron app doesn't start up the app-server in a particular
workspace directory.
So sandbox setup happens in the app-installed directory instead of the
project workspace.

This allows the app do specify the workspace cwd so that the sandbox
setup actually sets up the ACLs instead of exiting fast and then having
the first shell command be slow.
This commit is contained in:
iceweasel-oai
2026-03-04 10:54:30 -08:00
committed by GitHub
parent 8a59386273
commit 54a1c81d73
9 changed files with 61 additions and 16 deletions

View File

@@ -10,6 +10,12 @@
}
},
"properties": {
"cwd": {
"type": [
"string",
"null"
]
},
"mode": {
"$ref": "#/definitions/WindowsSandboxSetupMode"
}
@@ -19,4 +25,4 @@
],
"title": "WindowsSandboxSetupStartParams",
"type": "object"
}
}