[Pkg-privacy-commits] [torbrowser-launcher] 02/11: execute ./start-tor-browser.desktop instead of ./Browser/start-tor-browser (#176)

Holger Levsen holger at moszumanska.debian.org
Sat Dec 5 17:59:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch debian/jessie
in repository torbrowser-launcher.

commit dd4603c761112835bbb21c2d6120335ce69a31bb
Author: Micah Lee <micah at micahflee.com>
Date:   Mon May 11 19:20:30 2015 -0400

    execute ./start-tor-browser.desktop instead of ./Browser/start-tor-browser (#176)
---
 torbrowser_launcher/common.py   | 3 ++-
 torbrowser_launcher/launcher.py | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/torbrowser_launcher/common.py b/torbrowser_launcher/common.py
index 9495fe6..cbf8296 100644
--- a/torbrowser_launcher/common.py
+++ b/torbrowser_launcher/common.py
@@ -145,7 +145,8 @@ class Common:
                 'update_check_file': tbb_cache+'/download/RecommendedTBBVersions',
                 'tbb': {
                     'dir': tbb_local+'/tbb/'+self.architecture,
-                    'start': tbb_local+'/tbb/'+self.architecture+'/tor-browser_'+self.language+'/Browser/start-tor-browser',
+                    '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',
                     'versions': tbb_local+'/tbb/'+self.architecture+'/tor-browser_'+self.language+'/Browser/TorBrowser/Docs/sources/versions',
                 },
             }
diff --git a/torbrowser_launcher/launcher.py b/torbrowser_launcher/launcher.py
index e9397e0..81ab459 100644
--- a/torbrowser_launcher/launcher.py
+++ b/torbrowser_launcher/launcher.py
@@ -634,7 +634,7 @@ class Launcher:
                 gtk.main_iteration_do(True)
 
         # run Tor Browser
-        subprocess.call([self.common.paths['tbb']['start'], '--detach'])
+        subprocess.call([self.common.paths['tbb']['start']], cwd=self.common.paths['tbb']['dir_tbb'])
 
         if run_next_task:
             self.run_task()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git



More information about the Pkg-privacy-commits mailing list