richard pushed to branch base-browser-115.2.0esr-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

3 changed files:

Changes:

  • build/application.ini.in
    ... ... @@ -52,5 +52,5 @@ ServerURL=@MOZ_CRASHREPORTER_URL@/submit?id=@MOZ_APP_ID@&version=@MOZ_APP_VERSIO
    52 52
     
    
    53 53
     #if MOZ_UPDATER
    
    54 54
     [AppUpdate]
    
    55
    -URL=https://aus1.torproject.org/basebrowser/update_3/%CHANNEL%/%BUILD_TARGET%/%VERSION%/ALL
    
    55
    +URL=@BB_UPDATER_URL@/%CHANNEL%/%BUILD_TARGET%/%VERSION%/ALL
    
    56 56
     #endif

  • build/moz.build
    ... ... @@ -75,6 +75,7 @@ if CONFIG["MOZ_APP_BASENAME"]:
    75 75
             "MAR_CHANNEL_ID",
    
    76 76
             "MOZ_APP_REMOTINGNAME",
    
    77 77
             "MOZ_CRASHREPORTER_URL",
    
    78
    +        "BB_UPDATER_URL",
    
    78 79
         ):
    
    79 80
             appini_defines[var] = CONFIG[var]
    
    80 81
     
    

  • build/moz.configure/update-programs.configure
    ... ... @@ -204,3 +204,19 @@ option(
    204 204
     
    
    205 205
     set_config("BASE_BROWSER_UPDATE", True, when="--enable-base-browser-update")
    
    206 206
     set_define("BASE_BROWSER_UPDATE", True, when="--enable-base-browser-update")
    
    207
    +
    
    208
    +
    
    209
    +# Updater URL
    
    210
    +# ==============================================================
    
    211
    +
    
    212
    +option(
    
    213
    +    "--with-updater-url",
    
    214
    +    default="https://aus1.torproject.org/torbrowser/update_3/",
    
    215
    +    nargs=1,
    
    216
    +    help="Set the updater URL",
    
    217
    +)
    
    218
    +
    
    219
    +set_config(
    
    220
    +    "BB_UPDATER_URL",
    
    221
    +    depends("--with-updater-url")(lambda x: x[0].rstrip("/")),
    
    222
    +)