chore: add demo mode

This commit is contained in:
Steven
2023-07-14 18:14:14 +08:00
parent af31875e6a
commit bd9daddaef
11 changed files with 196 additions and 7 deletions

View File

@ -15,7 +15,7 @@ var Version = "0.1.0"
var DevVersion = "0.1.0"
func GetCurrentVersion(mode string) string {
if mode == "dev" {
if mode == "dev" || mode == "demo" {
return DevVersion
}
return Version