Verified Commit 27e74537 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! Bug 4234: Use the Firefox Update Process for Base Browser.

Bug 41668: Port some updater patches to Base Browser

Move the check on the update package version to this other commit.
parent 1a2f12fb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2809,7 +2809,8 @@ static void UpdateThreadFunc(void* param) {
        if (ReadMARChannelIDs(updateSettingsPath, &MARStrings) != OK) {
          rv = UPDATE_SETTINGS_FILE_CHANNEL;
        } else {
#  ifdef TOR_BROWSER_UPDATE
#  ifdef BASE_BROWSER_VERSION_QUOTED
          // Use the base browser version to prevent downgrade attacks.
          const char* appVersion = BASE_BROWSER_VERSION_QUOTED;
#  else
          const char* appVersion = MOZ_APP_VERSION;