@lvce-editor/main-process 6.19.3 → 6.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mainProcessMain.js +3 -2
- package/package.json +1 -1
package/dist/mainProcessMain.js
CHANGED
|
@@ -3727,7 +3727,8 @@ const enable$1 = parsedCliArgs => {
|
|
|
3727
3727
|
if (parsedCliArgs.sandbox) {
|
|
3728
3728
|
enableSandbox();
|
|
3729
3729
|
} else {
|
|
3730
|
-
//
|
|
3730
|
+
// The GPU sandbox must also be disabled when Chromium's sandbox was explicitly disabled.
|
|
3731
|
+
// See https://github.com/microsoft/vscode/issues/151187#issuecomment-1221475319
|
|
3731
3732
|
if (isLinux) {
|
|
3732
3733
|
// @ts-ignore
|
|
3733
3734
|
appendCommandLineSwitch('--disable-gpu-sandbox');
|
|
@@ -4037,7 +4038,7 @@ const parseCliArgs = argv => {
|
|
|
4037
4038
|
},
|
|
4038
4039
|
boolean: [Version, Help, Wait, BuiltinSelfTest, Web, SandBox],
|
|
4039
4040
|
default: {
|
|
4040
|
-
sandbox:
|
|
4041
|
+
sandbox: true
|
|
4041
4042
|
},
|
|
4042
4043
|
string: [Prompt]
|
|
4043
4044
|
};
|