diff --git a/torbrowser_launcher/common.py b/torbrowser_launcher/common.py index 3a3a430a..8e0a9ea3 100644 --- a/torbrowser_launcher/common.py +++ b/torbrowser_launcher/common.py @@ -164,7 +164,7 @@ def build_paths(self, tbb_version=None): 'dir': tbb_local + '/tbb/' + self.architecture, 'dir_tbb': tbb_local + '/tbb/' + self.architecture + '/tor-browser_' + self.language, 'start': tbb_local + '/tbb/' + self.architecture + '/tor-browser_' + - self.language + '/start-tor-browser.desktop' + self.language + '/Browser/start-tor-browser', }, } diff --git a/torbrowser_launcher/launcher.py b/torbrowser_launcher/launcher.py index efcd1c84..6ee1b2c4 100644 --- a/torbrowser_launcher/launcher.py +++ b/torbrowser_launcher/launcher.py @@ -433,7 +433,8 @@ def run(self): return # Run Tor Browser - subprocess.call([self.common.paths['tbb']['start']], cwd=self.common.paths['tbb']['dir_tbb']) + cmd = [self.common.paths['tbb']['start'], '--detach'] + subprocess.call(cmd, cwd=self.common.paths['tbb']['dir_tbb']) sys.exit(0) # Start over and download TBB again