This commit is contained in:
2026-04-08 23:07:07 +08:00
parent e4f0f16c39
commit 67ba8261f0
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
savedata
*.exe
.workbuddy
+7
View File
@@ -7,6 +7,13 @@ LOG_PATH="/var/log/$APP_NAME"
echo "正在安装 $APP_NAME..."
# 编译前端
echo "编译前端..."
cd sese-engine-ui
npm run build
cd ..
cp -r sese-engine-ui/dist ./dist
# 编译应用
echo "编译应用..."
CGO_ENABLED=0 GOOS=linux go build -o $APP_NAME -ldflags="-s -w" main.go