fix: remove build info from lib

pull/39/head
Evan Chen 2021-10-24 01:40:11 +08:00
parent 12db987421
commit 3c40c2396e
3 changed files with 1 additions and 3 deletions

1
app.go
View File

@ -71,7 +71,6 @@ func (cui *ConfigUI) App(w http.ResponseWriter, r *http.Request) {
HideConfig: cui.HideConfig,
ResultBellow: cui.ResultBellow,
Version: version,
Build: build,
}
content := ""

View File

@ -14,7 +14,6 @@ var UNIX_SHELL = "sh"
var WIN_SHELL = "cmd"
const version = "0.1.2-rc1"
const build = "1a9e4c8"
//go:embed templates
var tmplFS embed.FS

View File

@ -2,7 +2,7 @@
<footer class="footer">
<div class="content has-text-right">
<p>
<strong>Configui</strong> {{.Version}}-{{.Build}} by <a href="https://kumoly.io/evanchen">Evan Chen</a>.
<strong>Configui</strong> {{.Version}} by <a href="https://kumoly.io/evanchen">Evan Chen</a>.
</p>
</div>
</footer>