feat: build with no embedded front-end files

This commit is contained in:
Hintay 2025-02-04 01:10:29 +09:00
parent b090564a34
commit a560d98acf
No known key found for this signature in database
GPG key ID: 120FC7FF121F2F2D
10 changed files with 91 additions and 35 deletions

10
app/app_unembed.go Normal file
View file

@ -0,0 +1,10 @@
//go:build unembed
package app
import "embed"
//go:embed i18n.json src/language/* src/language/*/* src/version.json
var DistFS embed.FS
var VersionPath = "src/version.json"