setPlatform

This commit is contained in:
josc146 2023-05-29 21:20:19 +08:00
parent 154827f367
commit a196ce6da8

View File

@ -15,7 +15,7 @@ export async function startup() {
initCache().then(initRemoteText); initCache().then(initRemoteText);
await GetPlatform().then(commonStore.setPlatform); await GetPlatform().then(p => commonStore.setPlatform(p));
await initConfig(); await initConfig();
if (commonStore.settings.autoUpdatesCheck) // depends on config settings if (commonStore.settings.autoUpdatesCheck) // depends on config settings