mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 03:50:13 +10:00
feat: build successfully with new patches
This commit is contained in:
21
patches/insider/disable-sandbox.patch
Normal file
21
patches/insider/disable-sandbox.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
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 } = {
|
||||
13
patches/insider/system-extensions.patch
Normal file
13
patches/insider/system-extensions.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
||||
index 81bf4b2..5a88688 100644
|
||||
--- a/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
||||
+++ b/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
|
||||
@@ -233,7 +233,7 @@ export class Extension implements IExtension {
|
||||
return false;
|
||||
}
|
||||
// Do not allow updating system extensions in stable
|
||||
- if (this.type === ExtensionType.System && this.productService.quality === 'stable') {
|
||||
+ if (this.type === ExtensionType.System) {
|
||||
return false;
|
||||
}
|
||||
if (!this.local.preRelease && this.gallery.properties.isPreReleaseVersion) {
|
||||
Reference in New Issue
Block a user