feat: add checksum-based update detection

This commit is contained in:
Mikhail Kiselev
2026-02-10 15:53:26 +03:00
parent 75dc03b0fd
commit 2b86eb9d20
4 changed files with 87 additions and 4 deletions

View File

@@ -309,7 +309,11 @@
</div>
{:else if updateInfo?.available}
<div class="update-status available">
{$t('updates.updateAvailable')}: <strong>{updateInfo.latestVersion}</strong>
{#if updateInfo.isRebuild}
{$t('updates.rebuildAvailable')}: <strong>{updateInfo.latestVersion}</strong>
{:else}
{$t('updates.updateAvailable')}: <strong>{updateInfo.latestVersion}</strong>
{/if}
</div>
<button class="update-btn primary" on:click={downloadAndInstall}>
{$t('updates.downloadAndInstall')}