mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 18:04:12 +01:00
should push 'Win32' to confing.features before io.js is initialized
This commit is contained in:
@@ -66,6 +66,8 @@ const Liberator = Module("liberator", {
|
||||
// without explicitly selecting a profile.
|
||||
/** @property {string} The name of the current user profile. */
|
||||
this.profileName = services.get("directory").get("ProfD", Ci.nsIFile).leafName.replace(/^.+?\./, "");
|
||||
|
||||
config.features.push(Liberator.getPlatformFeature());
|
||||
},
|
||||
|
||||
destroy: function () {
|
||||
@@ -1730,8 +1732,6 @@ const Liberator = Module("liberator", {
|
||||
};
|
||||
},
|
||||
load: function () {
|
||||
config.features.push(Liberator.getPlatformFeature());
|
||||
|
||||
liberator.triggerObserver("load");
|
||||
|
||||
liberator.log("All modules loaded", 3);
|
||||
|
||||
Reference in New Issue
Block a user