mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 02:27:58 +01:00
More bootstrap work. Now loadable without restart.
--HG-- branch : bootstrapped rename : common/content/modules.js => common/modules/overlay.jsm
This commit is contained in:
6
common/bootstrap.js
vendored
6
common/bootstrap.js
vendored
@@ -143,15 +143,17 @@ function init() {
|
||||
});
|
||||
|
||||
if (manifestURI instanceof Ci.nsIFileURL)
|
||||
manager.autoRegister(file.QueryInterface(Ci.nsIFileURL).file);
|
||||
manager.autoRegister(manifestURI.QueryInterface(Ci.nsIFileURL).file);
|
||||
else {
|
||||
var file = basePath.parent;
|
||||
file.append(addon.id + ".manifest");
|
||||
|
||||
writeFile(file, result.map(function (line) line.join(" ")).join("\n"));
|
||||
manager.autoRegister(file);
|
||||
//file.remove(false);
|
||||
file.remove(false);
|
||||
}
|
||||
|
||||
require(global, "overlay");
|
||||
}
|
||||
|
||||
function reasonToString(reason) {
|
||||
|
||||
Reference in New Issue
Block a user