mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
don't accumulate installer (#27908)
This commit is contained in:
committed by
GitHub
parent
00dc4981d1
commit
bcb0942b73
@@ -159,6 +159,10 @@ void ProcessNewVersionInfo(const github_version_info& version_info,
|
||||
if (download_update)
|
||||
{
|
||||
Logger::trace(L"Downloading installer for a new version");
|
||||
|
||||
// Cleanup old updates before downloading the latest
|
||||
updating::cleanup_updates();
|
||||
|
||||
if (download_new_version(new_version_info).get())
|
||||
{
|
||||
state.state = UpdateState::readyToInstall;
|
||||
|
||||
Reference in New Issue
Block a user