This commit is contained in:
David Baker
2025-05-06 11:47:45 +01:00
parent 10e2c5c1e4
commit cd9b48d87f

View File

@@ -301,7 +301,7 @@ if (!app.commandLine.hasSwitch("enable-features")) {
// Workaround bug in electron 36:https://github.com/electron/electron/issues/46538 // Workaround bug in electron 36:https://github.com/electron/electron/issues/46538
// Hopefully this will no longer be needed soon and can be removed // Hopefully this will no longer be needed soon and can be removed
if (process.platform === "linux") { if (process.platform === "linux") {
app.commandLine.appendSwitch('gtk-version', '3'); app.commandLine.appendSwitch("gtk-version", "3");
} }
const gotLock = app.requestSingleInstanceLock(); const gotLock = app.requestSingleInstanceLock();