🐛 fix version type

pull/548/head
微凉 2021-11-14 00:30:15 +08:00
parent b785945210
commit 0f93d2bfed
3 changed files with 9 additions and 8 deletions

View File

@ -13,7 +13,7 @@
### 这是什么?
一款支持多种存储的目录文件列表程序,后端基于`go-fiber`,前端使用`react`。
一款支持多种存储的目录文件列表程序,后端基于`gin`,前端使用`react`。
### 前端项目地址

View File

@ -109,6 +109,7 @@ func initSettings() {
Key: "version",
Value: conf.GitTag,
Description: "version",
Type: "string",
Group: model.CONST,
}
@ -190,14 +191,14 @@ func initSettings() {
Values: "default,github,vuepress",
},
{
Key: "autoplay video",
Value: "false",
Type: "bool",
Key: "autoplay video",
Value: "false",
Type: "bool",
},
{
Key: "autoplay audio",
Value: "false",
Type: "bool",
Key: "autoplay audio",
Value: "false",
Type: "bool",
},
{
Key: "check parent folder",

View File

@ -66,7 +66,7 @@ cp -R ../alist-web/dist/* public
if [ "$1" == "release" ]; then
xgo -out alist -ldflags="$ldflags" .
else
xgo -targets=linux/amd64,windows/amd64,darwin/amd64 -out alist -ldflags="$ldflags" .
xgo -targets=linux/amd64,windows/amd64 -out alist -ldflags="$ldflags" .
fi
mkdir "build"
mv alist-* build