The Tor Browser cannot use -profile together with -app
When running a XUL application with -app
, the -profile
argument is
ignored, and the default profile path is used. After the TBB migration
that means the profile path becomes relative to the application.ini
file thanks to the Tor Browser patches. This forces us to use a really
ugly workaround to be able to run the Tor Launcher as a standalone
application with a sane path for the profile (see
config/chroot_local-includes/usr/bin/tor-launcher
).
A good question is if the Tor Browser patches (e.g. the one that alters
the default profile path) breaks this, of if -profile
simply isn’t
supported together with -app
in upstream Firefox. If the former is
true we should fix this, otherwise we can try to “improve” the Tor
Browser’s patch so an environment variable can override the profile
path, or similar.
Feature Branch: bugfix/7943-simplify-tor-launcher-profile-path-workaround
Related issues
-
Blocked by #11097 (closed)
Original created by @anonym on 7943 (Redmine)