feat: add new ElectronSquirrelPreventDowngrades flag (#38625)

* sketch

* feat: add new ElectronSquirrelPreventDowngrades flag

* test: remove only

* chore: fix lint
This commit is contained in:
Samuel Attard 2023-09-11 11:54:51 -07:00 committed by GitHub
parent 16aec702b4
commit 5bff0fe342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 449 additions and 15 deletions

View file

@ -70,6 +70,9 @@ class AutoUpdater {
static void CheckForUpdates();
static void QuitAndInstall();
static bool IsVersionAllowedForUpdate(const std::string& current_version,
const std::string& target_version);
private:
static Delegate* delegate_;
};