summaryrefslogtreecommitdiffstats
path: root/toolkit/modules
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-20 07:32:32 -0400
committerGitHub <noreply@github.com>2018-04-20 07:32:32 -0400
commitae4be7c9eb5d2ac6094296b83704c333105aa5d7 (patch)
treefd710aa8b8a9299977e992d41c9118a358648fc7 /toolkit/modules
parent0216b346f004c22603511ae9b0b35eaea26f1275 (diff)
parent6d04705a97e1f16b370ecf7c97508a46a650ff46 (diff)
downloadUXP-ae4be7c9eb5d2ac6094296b83704c333105aa5d7.tar
UXP-ae4be7c9eb5d2ac6094296b83704c333105aa5d7.tar.gz
UXP-ae4be7c9eb5d2ac6094296b83704c333105aa5d7.tar.lz
UXP-ae4be7c9eb5d2ac6094296b83704c333105aa5d7.tar.xz
UXP-ae4be7c9eb5d2ac6094296b83704c333105aa5d7.zip
Merge pull request #212 from janekptacijarabaci/profile_resseting_1
moebius#84, #205: Fix: The profile - resetting (partially)
Diffstat (limited to 'toolkit/modules')
-rw-r--r--toolkit/modules/ResetProfile.jsm6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolkit/modules/ResetProfile.jsm b/toolkit/modules/ResetProfile.jsm
index fe0d1cfe8..c1839af4f 100644
--- a/toolkit/modules/ResetProfile.jsm
+++ b/toolkit/modules/ResetProfile.jsm
@@ -11,7 +11,11 @@ const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/AppConstants.jsm");
-const MOZ_APP_NAME = AppConstants.MOZ_APP_NAME;
+// For Basilisk and Pale Moon
+// Hard-code MOZ_APP_NAME to firefox because of hard-coded type in migrator.
+const MOZ_APP_NAME = (((AppConstants.MOZ_APP_NAME == "basilisk")
+ || (AppConstants.MOZ_APP_NAME == "palemoon"))
+ ? "firefox" : AppConstants.MOZ_APP_NAME);
const MOZ_BUILD_APP = AppConstants.MOZ_BUILD_APP;
this.ResetProfile = {