1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 06:38:12 +01:00

Fix WinNT OS detection in storage.jsm.

This commit is contained in:
Kris Maglione
2010-09-21 10:16:26 -04:00
parent 6589ad3593
commit 014e75b1c0

View File

@@ -13,7 +13,7 @@ defmodule("storage", {
var prefService = services.get("pref").getBranch("extensions.dactyl.datastore."); 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) { function getFile(name) {
let file = storage.infoPath.clone(); let file = storage.infoPath.clone();