Commit da3722db authored by Kathleen Brade's avatar Kathleen Brade
Browse files

ESR24 compat: compute correct paths for tor files.

In FF21+, CurProcD points to the browser subdirectory, so we need to go
up one more level to reach the TBB installation directory.
parent 1cea694b
......@@ -528,7 +528,9 @@ TorProcessService.prototype =
// For Firefox, paths are relative to the top of the TBB install.
var tbbBrowserDepth = 1; // Windows and Linux
// In FF21+, CurProcD is the "browser" directory that is next to
// the firefox binary, e.g., <TorFileBaseDir>/Browser/browser
var tbbBrowserDepth = 2; // Windows and Linux
if (TorLauncherUtil.isMac)
tbbBrowserDepth += 4;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment