mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-31 10:32:39 +01:00
Try not to break things on :rehash for users running from the repo.
This commit is contained in:
4
common/bootstrap.js
vendored
4
common/bootstrap.js
vendored
@@ -61,6 +61,10 @@ function startup(data, reason) {
|
||||
addon = data;
|
||||
AddonManager.getAddonByID(addon.id, function (a) { addon = a; });
|
||||
|
||||
// Temporary hack.
|
||||
if (basePath.isDirectory() && JSMLoader.bump == null)
|
||||
JSMLoader.bump = 1;
|
||||
|
||||
if (basePath.isDirectory())
|
||||
getURI = function getURI(path) {
|
||||
let file = basePath.clone().QueryInterface(Ci.nsILocalFile);
|
||||
|
||||
Reference in New Issue
Block a user