better app loading progress

This commit is contained in:
Jan Prochazka
2022-05-17 21:25:00 +02:00
parent ce4124caef
commit c925ce9652
4 changed files with 201 additions and 39 deletions

View File

@@ -18,6 +18,7 @@
import { getConfig, getSettings, getUsedApps } from './utility/metadataLoaders';
import AppTitleProvider from './utility/AppTitleProvider.svelte';
import getElectron from './utility/getElectron';
import AppStartInfo from './widgets/AppStartInfo.svelte';
let loadedApi = false;
let loadedPlugins = false;
@@ -80,13 +81,12 @@
<OpenTabsOnStartup />
<Screen />
{:else}
<LoadingInfo
<AppStartInfo
message={$loadingPluginStore.loadingPackageName
? `Loading plugin ${$loadingPluginStore.loadingPackageName} ...`
: 'Preparing plugins ...'}
wrapper
/>
{/if}
{:else}
<LoadingInfo message="Starting DbGate ..." wrapper />
<AppStartInfo message="Starting DbGate" />
{/if}