Skip to content

Commit 72b7d24

Browse files
committed
Use Browser/start-tor-browser instead of .desktop file
This should have no functional consequence but will help with allowing to start the browser with non-default options.
1 parent 60d9c39 commit 72b7d24

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

torbrowser_launcher/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def build_paths(self, tbb_version=None):
155155
"start": tbb_local
156156
+ "/tbb/"
157157
+ self.architecture
158-
+ "/tor-browser/start-tor-browser.desktop",
158+
+ "/tor-browser/Browser/start-tor-browser",
159159
},
160160
}
161161

torbrowser_launcher/launcher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,8 @@ def run(self):
478478

479479
# Run Tor Browser
480480
subprocess.call(
481-
[self.common.paths["tbb"]["start"]], cwd=self.common.paths["tbb"]["dir_tbb"]
481+
[self.common.paths["tbb"]["start"], "--detach"],
482+
cwd=self.common.paths["tbb"]["dir_tbb"],
482483
)
483484
sys.exit(0)
484485

0 commit comments

Comments
 (0)