From 3b013f379fbc22d14ac05c9a946825ddbcc9ee89 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Wed, 17 Jan 2018 17:14:19 -0800 Subject: [PATCH] Force yes when extracting Tor Browser exe --- install/get-tor-windows.py | 4 ++-- 1 file 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()