22 lines
1.2 KiB
Diff
22 lines
1.2 KiB
Diff
|
diff --git a/src/vs/platform/windows/electron-main/windowImpl.ts b/src/vs/platform/windows/electron-main/windowImpl.ts
|
||
|
index c9501cb..a6958ff 100644
|
||
|
--- a/src/vs/platform/windows/electron-main/windowImpl.ts
|
||
|
+++ b/src/vs/platform/windows/electron-main/windowImpl.ts
|
||
|
@@ -42,7 +42,6 @@ import { Color } from 'vs/base/common/color';
|
||
|
import { IPolicyService } from 'vs/platform/policy/common/policy';
|
||
|
import { IUserDataProfile } from 'vs/platform/userDataProfile/common/userDataProfile';
|
||
|
import { IStateMainService } from 'vs/platform/state/electron-main/state';
|
||
|
-import product from 'vs/platform/product/common/product';
|
||
|
import { IUserDataProfilesMainService } from 'vs/platform/userDataProfile/electron-main/userDataProfile';
|
||
|
|
||
|
export interface IWindowCreationOptions {
|
||
|
@@ -203,7 +202,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
|
||
|
if (typeof windowSettings?.experimental?.useSandbox === 'boolean') {
|
||
|
useSandbox = windowSettings.experimental.useSandbox;
|
||
|
} else {
|
||
|
- useSandbox = typeof product.quality === 'string' && product.quality !== 'stable';
|
||
|
+ useSandbox = false;
|
||
|
}
|
||
|
|
||
|
const options: BrowserWindowConstructorOptions & { experimentalDarkMode: boolean } = {
|