diff --git a/README.md b/README.md index 968694de..2c29b102 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ### 这是什么? -一款支持多种存储的目录文件列表程序,后端基于`go-fiber`,前端使用`react`。 +一款支持多种存储的目录文件列表程序,后端基于`gin`,前端使用`react`。 ### 前端项目地址 diff --git a/bootstrap/model.go b/bootstrap/model.go index d8011d7d..9d940694 100644 --- a/bootstrap/model.go +++ b/bootstrap/model.go @@ -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", diff --git a/build.sh b/build.sh index ee82f028..3f156a5a 100644 --- a/build.sh +++ b/build.sh @@ -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