From 014e75b1c03fe22913c93def0da446ae6e545d80 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 21 Sep 2010 10:16:26 -0400 Subject: [PATCH] Fix WinNT OS detection in storage.jsm. --- common/modules/storage.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/storage.jsm b/common/modules/storage.jsm index 68a8448f..11c9a119 100644 --- a/common/modules/storage.jsm +++ b/common/modules/storage.jsm @@ -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();