custom models path

This commit is contained in:
josc146
2023-05-31 15:21:47 +08:00
parent cf16e54463
commit b49968c145
9 changed files with 62 additions and 17 deletions

View File

@@ -13,11 +13,11 @@ export async function startup() {
commonStore.setDownloadList(data);
});
initCache().then(initRemoteText);
await GetPlatform().then(p => commonStore.setPlatform(p as Platform));
await initConfig();
initCache().then(initRemoteText); // depends on config customModelsPath
if (commonStore.settings.autoUpdatesCheck) // depends on config settings
checkUpdate();