mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-17 18:02:20 -07:00
FIX: remove not match printer config ota cache
Change-Id: Ib73fc2ea31fa2186061cfcb5a170bc59b9db84ca Jira: none
This commit is contained in:
parent
1d50e208b2
commit
1361357a41
1 changed files with 2 additions and 1 deletions
|
|
@ -1053,7 +1053,8 @@ void PresetUpdater::priv::sync_printer_config(std::string http_url)
|
|||
}
|
||||
|
||||
if (need_delete_cache) {
|
||||
std::string data_dir_str = data_dir();
|
||||
boost::system::error_code ec;
|
||||
boost::filesystem::remove_all(cache_folder, ec);
|
||||
cached_version = curr_version;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue