1
0
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:
Kris Maglione
2011-01-15 12:16:27 -05:00
parent c78c7b36cb
commit 14ec281811
3 changed files with 10 additions and 12 deletions

4
common/bootstrap.js vendored
View File

@@ -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);