asciiwolf pushed to branch main at The Tor Project / Applications / torbrowser-launcher
Commits:
-
62732628
by Ferenc Géczi at 2026-05-30T00:00:00+00:00
-
ada48643
by Ferenc Géczi at 2026-11-03T00:00:00+00:00
-
944343e5
by Ferenc Géczi at 2026-11-03T00:00:00+00:00
-
6b98556b
by asciiwolf at 2026-11-04T00:12:19+00:00
1 changed file:
Changes:
| ... | ... | @@ -47,7 +47,7 @@ class Common(object): |
| 47 | 47 | self.tbl_version = tbl_version
|
| 48 | 48 | |
| 49 | 49 | # initialize the app
|
| 50 | - self.architecture = "x86_64" if "64" in platform.architecture()[0] else "i686"
|
|
| 50 | + self.architecture = platform.machine()
|
|
| 51 | 51 | self.default_mirror = "https://dist.torproject.org/"
|
| 52 | 52 | self.build_paths()
|
| 53 | 53 | self.torbrowser12_rename_old_tbb()
|
| ... | ... | @@ -96,8 +96,10 @@ class Common(object): |
| 96 | 96 | # tarball filename
|
| 97 | 97 | if self.architecture == "x86_64":
|
| 98 | 98 | arch = "linux-x86_64"
|
| 99 | + elif self.architecture == "aarch64":
|
|
| 100 | + arch = "linux-aarch64"
|
|
| 99 | 101 | else:
|
| 100 | - arch = "linux-i686"
|
|
| 102 | + raise ValueError("Unsupported architecture!", self.architecture)
|
|
| 101 | 103 | |
| 102 | 104 | tarball_filename = "tor-browser-" + arch + "-" + tbb_version + ".tar.xz"
|
| 103 | 105 |