mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-06 08:25:15 -04:00
Fixed desktop/scripts/get-tor.py and desktop/onionshare/widgets.py for linux64
This commit is contained in:
parent
16cdb588a8
commit
d536595283
2 changed files with 6 additions and 6 deletions
|
@ -216,12 +216,12 @@ def get_tor_linux64():
|
|||
sys.exit(-1)
|
||||
|
||||
# Delete extracted tarball, if it's there
|
||||
shutil.rmtree(os.path.join(working_path, "tor-browser_en-US"), ignore_errors=True)
|
||||
shutil.rmtree(os.path.join(working_path, "tor-browser"), ignore_errors=True)
|
||||
|
||||
# Extract the tarball
|
||||
subprocess.call(["tar", "-xvf", tarball_path], cwd=working_path)
|
||||
tarball_tor_path = os.path.join(
|
||||
working_path, "tor-browser_en-US", "Browser", "TorBrowser"
|
||||
working_path, "tor-browser", "Browser", "TorBrowser"
|
||||
)
|
||||
|
||||
# Copy into dist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue