mirror of
https://github.com/torproject/torbrowser-launcher.git
synced 2024-11-27 03:20:33 +00:00
execute ./start-tor-browser.desktop instead of ./Browser/start-tor-browser (#176)
This commit is contained in:
parent
18717f7e85
commit
5f833d7329
@ -144,7 +144,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',
|
||||
},
|
||||
}
|
||||
|
@ -631,7 +631,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()
|
||||
|
Loading…
Reference in New Issue
Block a user