We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e9b91 commit e24f2acCopy full SHA for e24f2ac
2 files changed
metadata.json
@@ -9,5 +9,5 @@
9
],
10
"url": "https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager",
11
"uuid": "another-window-session-manager@gmail.com",
12
- "version": 12
+ "version": 13
13
}
utils/gnomeVersion.js
@@ -1,10 +1,13 @@
1
const Config = imports.misc.config;
2
3
-const GNOME_VERSION = Config.PACKAGE_VERSION;
+// '41.beta' => 41
4
+// '41.4' => 41.4
5
+// '3.38.beta' => 3.38
6
+const GNOME_VERSION = parseFloat(Config.PACKAGE_VERSION);
7
8
function isOlderThan42() {
- return GNOME_VERSION < '42';
+ return GNOME_VERSION < 42;
0 commit comments