mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
FIX: remove not match printer config ota cache
Change-Id: Ib73fc2ea31fa2186061cfcb5a170bc59b9db84ca Jira: none
This commit is contained in:
@@ -1053,7 +1053,8 @@ void PresetUpdater::priv::sync_printer_config(std::string http_url)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (need_delete_cache) {
|
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;
|
cached_version = curr_version;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user