Pier Angelo Vendrame pushed to branch tor-browser-150.0a1-16.0-2 at The Tor 
Project / Applications / Tor Browser


Commits:
32df9dfd by dignatoff at 2026-05-05T08:17:13+02:00
!fixup TB 44850 Fix MacOS typos in post_build tor setup and re-codesign

- - - - -


1 changed file:

- python/mozbuild/mozbuild/backend/base.py


Changes:

=====================================
python/mozbuild/mozbuild/backend/base.py
=====================================
@@ -289,18 +289,17 @@ class BuildBackend(LoggingMixin):
             )
 
         if app == "browser":
-            tbdir = Path(config.topobjdir) / "dist" / "bin"
-
             if config.substs.get("OS_TARGET") == "Darwin":
-                tbdir = next(tbdir.glob("*.app"))
+                tbdir = Path(config.topobjdir) / "dist" / 
config.substs["MOZ_MACBUNDLE_NAME"]
                 paths = {
                     "docs": tbdir / "Contents/Resources/TorBrowser/Docs",
                     "exts": tbdir / 
"Contents/Resources/distribution/extensions",
-                    "tor_bin": tbdir / "Contents/MacOS/tor",
+                    "tor_bin": tbdir / "Contents/MacOS/Tor",
                     "tor_config": tbdir / "Contents/Resources/TorBrowser/Tor",
                     "fonts": tbdir / "Resources/fonts",
                 }
             else:
+                tbdir = Path(config.topobjdir) / "dist" / "bin"
                 paths = {
                     "docs": tbdir / "TorBrowser/Docs",
                     "exts": tbdir / "distribution/extensions",



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/32df9dfd3746cab24ae7caddb0b25a9541e7ce23

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/32df9dfd3746cab24ae7caddb0b25a9541e7ce23
You're receiving this email because of your account on gitlab.torproject.org. 
Manage all notifications: https://gitlab.torproject.org/-/profile/notifications 
| Help: https://gitlab.torproject.org/help


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to