Fix Paper startup before worlds load and add 0.5.0 artifacts
This commit is contained in:
1 parent
c0daa0507a
commit
434ed5338a
21 files changed
+60
-17
No files matched your search
@@ -90,9 +90,17 @@ export async function init() {
|
||||
theme();
|
||||
pickSelected();
|
||||
subscribe();
|
||||
app.ready = true;
|
||||
invoke('show_window').catch(() => {});
|
||||
if (app.panelUrl) await refresh();
|
||||
if (app.panelUrl && !app.manifest) {
|
||||
try {
|
||||
await refresh();
|
||||
} finally {
|
||||
app.ready = true;
|
||||
}
|
||||
} else {
|
||||
app.ready = true;
|
||||
if (app.panelUrl) await refresh();
|
||||
}
|
||||
if (boot.settings.check_updates && boot.app.repo) {
|
||||
invoke<UpdateInfo | null>('check_update').then((u) => (app.update = u)).catch(() => {});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user