mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:50:06 +00:00
Remove temporary installer files on application startup
This commit is contained in:
parent
b2e441dc2e
commit
d598631a77
3 changed files with 38 additions and 3 deletions
|
|
@ -627,9 +627,13 @@ void MainWindowImpl::AsyncSetup()
|
|||
// Check for updates
|
||||
if (generalSettings.update_notifications_enabled().GetValue())
|
||||
{
|
||||
boost::asio::post(
|
||||
threadPool_,
|
||||
[this]() { updateManager_->CheckForUpdates(main::kVersionString_); });
|
||||
boost::asio::post(threadPool_,
|
||||
[this]()
|
||||
{
|
||||
manager::UpdateManager::RemoveTemporaryReleases();
|
||||
updateManager_->CheckForUpdates(
|
||||
main::kVersionString_);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue