feat: add new ElectronSquirrelPreventDowngrades flag (#38625)
* sketch * feat: add new ElectronSquirrelPreventDowngrades flag * test: remove only * chore: fix lint
This commit is contained in:
parent
16aec702b4
commit
5bff0fe342
11 changed files with 449 additions and 15 deletions
|
@ -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_;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue