diff --git a/src/lib/components/updates/UpdateProgressModal.svelte b/src/lib/components/updates/UpdateProgressModal.svelte new file mode 100644 index 000000000..02c0fc390 --- /dev/null +++ b/src/lib/components/updates/UpdateProgressModal.svelte @@ -0,0 +1,154 @@ + + + {}} title={$t('updates.autoUpdate.title')} maxWidth="460px"> +
+

{statusText(progress, progressPercent)}

+ + {#if progress.state === 'downloading'} +
+
+
+ {#if progress.totalBytes != null} +

+ {formatBytes(progress.downloadedBytes)} / {formatBytes(progress.totalBytes)} +

+ {/if} + {/if} + + {#if progress.state === 'checking' || progress.state === 'installing' || progress.state === 'restarting'} +
+
+
+ {/if} + + {#if progress.state === 'error'} +

{progress.error}

+ {/if} +
+ + {#snippet footer()} + + {/snippet} +
+ +