diff options
author | Micah Lee <micah@micahflee.com> | 2018-01-17 17:14:19 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2018-01-17 17:14:19 -0800 |
commit | 3b013f379fbc22d14ac05c9a946825ddbcc9ee89 (patch) | |
tree | 27b4c0ecbd2382ee6f62986cace03b6302b3352c /install | |
parent | 6629aec341f61716ef15cd183ccde2c8f90ffae3 (diff) | |
download | onionshare-3b013f379fbc22d14ac05c9a946825ddbcc9ee89.tar.gz onionshare-3b013f379fbc22d14ac05c9a946825ddbcc9ee89.zip |
Force yes when extracting Tor Browser exe
Diffstat (limited to 'install')
-rw-r--r-- | install/get-tor-windows.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/get-tor-windows.py b/install/get-tor-windows.py index 4945ce68..b1a6665d 100644 --- a/install/get-tor-windows.py +++ b/install/get-tor-windows.py @@ -60,8 +60,8 @@ def main(): sys.exit(-1) # Extract the bits we need from the exe - cmd = ['7z', 'e', exe_path, 'Browser\TorBrowser\Tor', '-o%s' % os.path.join(working_path, 'Tor')] - cmd2 = ['7z', 'e', exe_path, 'Browser\TorBrowser\Data\Tor\geoip*', '-o%s' % os.path.join(working_path, 'Data')] + cmd = ['7z', 'e', '-y', exe_path, 'Browser\TorBrowser\Tor', '-o%s' % os.path.join(working_path, 'Tor')] + cmd2 = ['7z', 'e', '-y', exe_path, 'Browser\TorBrowser\Data\Tor\geoip*', '-o%s' % os.path.join(working_path, 'Data')] subprocess.Popen(cmd).wait() subprocess.Popen(cmd2).wait() |