mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 04:44:20 +01:00
Allow relative paths for 'shell'.
This commit is contained in:
4
common/bootstrap.js
vendored
4
common/bootstrap.js
vendored
@@ -52,10 +52,6 @@ function startup(data, reason) {
|
||||
addon = data;
|
||||
AddonManager.getAddonByID(addon.id, function (a) { addon = a; });
|
||||
|
||||
// Temporary hack.
|
||||
if (basePath.isDirectory() && global.JSMLoader && JSMLoader.bump == null)
|
||||
JSMLoader.bump = 2;
|
||||
|
||||
if (basePath.isDirectory())
|
||||
getURI = function getURI(path) {
|
||||
let file = basePath.clone().QueryInterface(Ci.nsILocalFile);
|
||||
|
||||
Reference in New Issue
Block a user