Skip to content

Commit 87db91e

Browse files
authored
Merge pull request #8694 from jandubois/patch-1.19.1
Bump version to 1.19.1 and cherry-pick the gtk-version patch for Gnome
2 parents be943a0 + 13a3a74 commit 87db91e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

background.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ import * as window from '@pkg/window';
5656
import { closeDashboard, openDashboard } from '@pkg/window/dashboard';
5757
import { openPreferences, preferencesSetDirtyFlag } from '@pkg/window/preferences';
5858

59+
// https://www.electronjs.org/docs/latest/breaking-changes#changed-gtk-4-is-default-when-running-gnome
60+
if (process.platform === 'linux') {
61+
Electron.app.commandLine.appendSwitch('gtk-version', '3');
62+
}
63+
5964
Electron.app.setPath('userData', path.join(paths.appHome, 'electron'));
6065
Electron.app.setPath('cache', paths.cache);
6166
Electron.app.setAppLogsPath(paths.logs);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "rancher-desktop",
33
"productName": "Rancher Desktop",
44
"license": "Apache-2.0",
5-
"version": "1.19.0",
5+
"version": "1.19.1",
66
"author": {
77
"name": "SUSE",
88
"email": "[email protected]"

0 commit comments

Comments
 (0)