refactor: remove cleaner menu and accelerated 2D canvas toggle

This commit is contained in:
2026-04-04 14:39:16 -07:00
parent 2a49639f98
commit ab5be15542
5 changed files with 2 additions and 69 deletions
-4
View File
@@ -75,7 +75,6 @@ export interface AppConfig {
showExitButton: boolean;
deathscreenAnimation: boolean;
hideMenuPopups: boolean;
cleanerMenu: boolean;
menuTimer: boolean;
doublePing: boolean;
cssTheme: string;
@@ -96,7 +95,6 @@ export interface AppConfig {
removeUselessFeatures: boolean;
gpuRasterizing: boolean;
helpfulFlags: boolean;
disableAccelerated2D: boolean;
increaseLimits: boolean;
lowLatency: boolean;
experimentalFlags: boolean;
@@ -180,7 +178,6 @@ export const config = new Store<AppConfig>({
showExitButton: true,
deathscreenAnimation: true,
hideMenuPopups: false,
cleanerMenu: false,
menuTimer: true,
doublePing: true,
cssTheme: 'disabled',
@@ -201,7 +198,6 @@ export const config = new Store<AppConfig>({
removeUselessFeatures: true,
gpuRasterizing: false,
helpfulFlags: true,
disableAccelerated2D: false,
increaseLimits: false,
lowLatency: false,
experimentalFlags: false,
-1
View File
@@ -49,7 +49,6 @@ const advancedDefaults = {
removeUselessFeatures: true,
gpuRasterizing: false,
helpfulFlags: true,
disableAccelerated2D: false,
increaseLimits: false,
lowLatency: false,
experimentalFlags: false,
-5
View File
@@ -106,11 +106,6 @@ export function applyPlatformFlags(info: PlatformInfo, advanced: AppConfig['adva
app.commandLine.appendSwitch('enable-features', 'V8VmFuture,WebAssemblyBaseline,WebAssemblyTiering,WebAssemblyLazyCompilation');
}
// ── Disable accelerated 2D canvas ──
if (advanced.disableAccelerated2D) {
app.commandLine.appendSwitch('disable-accelerated-2d-canvas');
}
// ── Increase limits ──
if (advanced.increaseLimits) {
app.commandLine.appendSwitch('renderer-process-limit', '100');