Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Hotfix for the TBB 13.0 archive name format change (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
AsciiWolf committed Oct 13, 2023
1 parent 46da161 commit 919d152
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions com.github.micahflee.torbrowser-launcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ modules:
url-template: https://github.com/micahflee/torbrowser-launcher/archive/refs/tags/v$version.tar.gz
- type: patch
path: use-flatpak-sys-prefix.patch
- type: patch
path: fix-tbb-archive-arch-name.patch
build-commands:
- python3 setup.py install --prefix=${FLATPAK_DEST} --root=/ --optimize=1
post-install:
Expand Down
19 changes: 19 additions & 0 deletions fix-tbb-archive-arch-name.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
diff --git a/torbrowser_launcher/common.py b/torbrowser_launcher/common.py
index 6623c0c..9d2fef4 100644
--- a/torbrowser_launcher/common.py
+++ b/torbrowser_launcher/common.py
@@ -104,11 +104,11 @@ class Common(object):
if tbb_version:
# tarball filename
if self.architecture == "x86_64":
- arch = "linux64"
+ arch = "linux-x86_64"
else:
- arch = "linux32"
+ arch = "linux-i686"

- tarball_filename = "tor-browser-" + arch + "-" + tbb_version + "_ALL.tar.xz"
+ tarball_filename = "tor-browser-" + arch + "-" + tbb_version + ".tar.xz"

# tarball
self.paths["tarball_url"] = (

0 comments on commit 919d152

Please sign in to comment.