Skip to content

Commit 5d0c35b

Browse files
authored
fix: fixed startup for GNOME DE (#2026)
fix: fixed startup for Gnome DE
1 parent 6e397d0 commit 5d0c35b

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)