mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[Updater]Handle up-to-date from PowerToys.Update.exe (#18684)
This commit is contained in:
@@ -69,7 +69,10 @@ UpdateState UpdateState::read()
|
||||
{
|
||||
std::error_code _;
|
||||
fs::remove(filename, _);
|
||||
return UpdateState{};
|
||||
UpdateState new_state;
|
||||
json::to_file(filename, serialize(new_state));
|
||||
|
||||
return new_state;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user