This commit is contained in:
josc146
2023-06-29 20:14:52 +08:00
parent 417389c5f6
commit 87ca694b0b
5 changed files with 10 additions and 6 deletions

View File

@@ -63,8 +63,8 @@ async function initConfig() {
async function initCache(initUnfinishedModels: boolean) {
await ReadJson('cache.json').then((cacheData: Cache) => {
if (cacheData.depComplete)
commonStore.setDepComplete(cacheData.depComplete);
if (cacheData.version === manifest.version && cacheData.depComplete)
commonStore.setDepComplete(cacheData.depComplete, false);
}).catch(() => {
});
await refreshModels(false, initUnfinishedModels);