mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 10:16:24 +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