Compare commits

..

No commits in common. "4c8cd2bf57845d8502773f917d61f77aedf57f35" and "41933e3c4fc611b41178bdf214d85b34e8ce75ca" have entirely different histories.

View file

@ -12,17 +12,6 @@ export var settings: any;
export var customTitlebar: boolean; export var customTitlebar: boolean;
export var tabs: 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(); checkIfConfigExists();
app.whenReady().then(async () => { app.whenReady().then(async () => {