mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-30 06:33:16 +08:00
FIX: remove not match printer config ota cache
Change-Id: Ib73fc2ea31fa2186061cfcb5a170bc59b9db84ca Jira: none
This commit is contained in:
parent
1d50e208b2
commit
1361357a41
@ -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…
x
Reference in New Issue
Block a user