summaryrefslogtreecommitdiffstats
path: root/toolkit/modules
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-19 14:29:05 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-19 14:29:05 +0200
commit1a1d8ddc8cbba1cb405ca62f2be7402e39bb5a68 (patch)
tree7180897e45561a9c1ee75a1b2d6811ce830d62dc /toolkit/modules
parent54c479af3a81f09be57465185d56ab1217a8b47f (diff)
downloadUXP-1a1d8ddc8cbba1cb405ca62f2be7402e39bb5a68.tar
UXP-1a1d8ddc8cbba1cb405ca62f2be7402e39bb5a68.tar.gz
UXP-1a1d8ddc8cbba1cb405ca62f2be7402e39bb5a68.tar.lz
UXP-1a1d8ddc8cbba1cb405ca62f2be7402e39bb5a68.tar.xz
UXP-1a1d8ddc8cbba1cb405ca62f2be7402e39bb5a68.zip
moebius#84: Fix: The profile - resetting
https://github.com/MoonchildProductions/moebius/pull/184
Diffstat (limited to 'toolkit/modules')
-rw-r--r--toolkit/modules/ResetProfile.jsm5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/modules/ResetProfile.jsm b/toolkit/modules/ResetProfile.jsm
index fe0d1cfe8..0b1faacd0 100644
--- a/toolkit/modules/ResetProfile.jsm
+++ b/toolkit/modules/ResetProfile.jsm
@@ -12,6 +12,11 @@ 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 = {