docs: version

feat/muzan
Evan 2021-10-24 15:15:21 +08:00
parent c9031c6f3f
commit 9814f61015
1 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import (
var UNIX_SHELL = "sh" var UNIX_SHELL = "sh"
var WIN_SHELL = "cmd" var WIN_SHELL = "cmd"
const version = "0.1.2-rc1" const version = "v0.1.3"
//go:embed templates //go:embed templates
var tmplFS embed.FS var tmplFS embed.FS
@ -111,6 +111,9 @@ func (cui *ConfigUI) LoadConfig(confstr string) error {
cui.NoReconfig = tmpConf.NoReconfig cui.NoReconfig = tmpConf.NoReconfig
cui.AppName = tmpConf.AppName cui.AppName = tmpConf.AppName
cui.BaseUrl = tmpConf.BaseUrl cui.BaseUrl = tmpConf.BaseUrl
if cui.BaseUrl == "" {
cui.BaseUrl = "/"
}
// NOT implemented // NOT implemented
cui.ResultBellow = tmpConf.ResultBellow cui.ResultBellow = tmpConf.ResultBellow