mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:52:32 +02:00
Fix WinNT OS detection in storage.jsm.
This commit is contained in:
1 parent
6589ad3593
commit
014e75b1c0
1 file changed
+1
-1
@@ -13,7 +13,7 @@ defmodule("storage", {
|
||||
|
||||
var prefService = services.get("pref").getBranch("extensions.dactyl.datastore.");
|
||||
|
||||
const win32 = services.get("runtime").OS == "Win32";
|
||||
const win32 = /^win(32|nt)$/i.test(services.get("runtime").OS);
|
||||
|
||||
function getFile(name) {
|
||||
let file = storage.infoPath.clone();
|
||||
|
||||
Reference in new issue
Block a user