remove leading 'v' from installed version

This commit is contained in:
maxid
2025-12-09 20:42:19 +01:00
parent 53fbc703bf
commit 7f4d73ed9d

View File

@@ -11,7 +11,7 @@
let episodeCount: string | null = $state(null);
let showCount: string | null = $state(null);
let torrentCount: string | null = $state(null);
let installedVersion: string | undefined = env.PUBLIC_VERSION;
let installedVersion: string | undefined = env.PUBLIC_VERSION?.replace(/v*/, '');
let releaseUrl: string | null = $state(null);
let newestVersion: string | null = $state(null);