Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to find the correct download path without language suffixes at first run #660

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: version-language to ALL
  • Loading branch information
tensornova committed Dec 8, 2022
commit 4b56188343f26f32beb88f932eb5f6b4907f15f9
13 changes: 4 additions & 9 deletions torbrowser_launcher/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def build_paths(self, tbb_version=None):
arch = "linux32"

tarball_filename = (
"tor-browser-" + arch + "-" + tbb_version + "_" + language + ".tar.xz"
"tor-browser-" + arch + "-" + tbb_version + "_ALL.tar.xz"
)

# tarball
Expand Down Expand Up @@ -234,21 +234,16 @@ def build_paths(self, tbb_version=None):
"changelog": tbb_local
+ "/tbb/"
+ self.architecture
+ "/tor-browser_"
+ language
+ "/Browser/TorBrowser/Docs/ChangeLog.txt",
+ "/tor-browser/Browser/TorBrowser/Docs/ChangeLog.txt",
"dir": tbb_local + "/tbb/" + self.architecture,
"dir_tbb": tbb_local
+ "/tbb/"
+ self.architecture
+ "/tor-browser_"
+ language,
+ "/tor-browser",
"start": tbb_local
+ "/tbb/"
+ self.architecture
+ "/tor-browser_"
+ language
+ "/start-tor-browser.desktop",
+ "/tor-browser/start-tor-browser.desktop",
},
}

Expand Down