chore: singe source of truth for version & show it on splash screen (#7)

Co-authored-by: 2mal3 <56305732+2mal3@users.noreply.github.com>
This commit is contained in:
E44
2026-01-10 14:06:10 -05:00
committed by GitHub
parent c64eb345fd
commit b0a57f9c67
6 changed files with 31 additions and 5 deletions
+5
View File
@@ -2,7 +2,12 @@ package shared
import (
_ "embed"
"strings"
)
//go:embed splash_screen.html
var SplashScreenTemplate string
//go:embed version.txt
var versionNotTrimmed string
var Version = strings.TrimSpace(versionNotTrimmed)