diff --git a/src/main.ts b/src/main.ts index 38dfa46..bf042f9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,17 +12,6 @@ export var settings: any; export var customTitlebar: boolean; export var tabs: boolean; -if (process.platform == "linux") { - if (process.env.$XDG_SESSION_TYPE == "wayland") { - console.log("Wayland specific patches applied.") - app.commandLine.appendSwitch("ozone-platform=wayland"); - if (process.env.$XDG_CURRENT_DESKTOP == "GNOME") { - app.commandLine.appendSwitch("enable-features=UseOzonePlatform,WaylandWindowDecorations"); - } else { - app.commandLine.appendSwitch("enable-features=UseOzonePlatform"); - } - } -} checkIfConfigExists(); app.whenReady().then(async () => {