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

Commits:

1 changed file:

Changes:

  • python/mozbuild/mozbuild/backend/base.py
    ... ... @@ -289,18 +289,17 @@ class BuildBackend(LoggingMixin):
    289 289
                 )
    
    290 290
     
    
    291 291
             if app == "browser":
    
    292
    -            tbdir = Path(config.topobjdir) / "dist" / "bin"
    
    293
    -
    
    294 292
                 if config.substs.get("OS_TARGET") == "Darwin":
    
    295
    -                tbdir = next(tbdir.glob("*.app"))
    
    293
    +                tbdir = Path(config.topobjdir) / "dist" / config.substs["MOZ_MACBUNDLE_NAME"]
    
    296 294
                     paths = {
    
    297 295
                         "docs": tbdir / "Contents/Resources/TorBrowser/Docs",
    
    298 296
                         "exts": tbdir / "Contents/Resources/distribution/extensions",
    
    299
    -                    "tor_bin": tbdir / "Contents/MacOS/tor",
    
    297
    +                    "tor_bin": tbdir / "Contents/MacOS/Tor",
    
    300 298
                         "tor_config": tbdir / "Contents/Resources/TorBrowser/Tor",
    
    301 299
                         "fonts": tbdir / "Resources/fonts",
    
    302 300
                     }
    
    303 301
                 else:
    
    302
    +                tbdir = Path(config.topobjdir) / "dist" / "bin"
    
    304 303
                     paths = {
    
    305 304
                         "docs": tbdir / "TorBrowser/Docs",
    
    306 305
                         "exts": tbdir / "distribution/extensions",