mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-21 01:52:03 +00:00
fix: properly implement setup version
This commit is contained in:
parent
7c9ffab987
commit
b880c99be3
2 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "ui",
|
||||
"version": "6.0.19",
|
||||
"version": "6.0.20",
|
||||
"license": "BUSL-1.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@9.14.4",
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
import { Check, X } from 'lucide-svelte'
|
||||
|
||||
import { goto } from '$app/navigation'
|
||||
import { SETUP_VERSION } from '$lib'
|
||||
import { Badge } from '$lib/components/ui/badge'
|
||||
import { Button } from '$lib/components/ui/button'
|
||||
import * as Tooltip from '$lib/components/ui/tooltip'
|
||||
|
|
@ -25,7 +26,7 @@
|
|||
$: settled = Promise.allSettled(checks.map(({ promise }) => promise))
|
||||
|
||||
function checkNext () {
|
||||
if (step === 2) localStorage.setItem('setup-finished', '1')
|
||||
if (step === 2) localStorage.setItem('setup-finished', SETUP_VERSION.toString())
|
||||
goto(`../${NEXT[step]}`)
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue