Skip to content

Commit 31aef64

Browse files
committed
fix: fixed startup for Gnome DE
1 parent b6963a7 commit 31aef64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import { TrayIcons } from './icons';
1111
import MenuBuilder from './menu';
1212
import Updater from './updater';
1313

14+
// https://github.com/electron/electron/issues/46538
15+
if (isLinux) app.commandLine?.appendSwitch('gtk-version', '3');
16+
1417
log.initialize();
1518

1619
const browserWindowOpts = {

0 commit comments

Comments
 (0)