update:(20240704) v1.1.9 提升稳定性,新增状态控制

This commit is contained in:
samwaf
2024-07-04 16:55:34 +08:00
parent c7c311602f
commit 26d0f7bb94
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ SET CGO_ENABLED=1
SET GOOS=windows
SET GOARCH=amd64
SET GIN_MODE=release
go build -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20240703 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.1.8 -s -w" -o %cd%/release/SamWaf64.exe main.go && %cd%/upx/win64/upx -9 %cd%/release/SamWaf64.exe
go build -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20240704 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.1.9 -s -w" -o %cd%/release/SamWaf64.exe main.go && %cd%/upx/win64/upx -9 %cd%/release/SamWaf64.exe
+1 -1
View File
@@ -1,4 +1,4 @@
go-bindata-assetfs.exe -o=vue/vue.go -pkg=vue vue/dist/...
go-bindata-assetfs.exe -o=vue/vue.go -pkg=vue vue/dist/...
set current_dir=%CD%
del %current_dir%\bindata.go 2>nul
+1 -1
View File
@@ -1 +1 @@
docker run --rm -v "$PWD":/media/sf_SamWaf -w /media/sf_SamWaf -e CGO_ENABLED=1 -e GOPROXY=https://goproxy.cn,direct golang:1.22.3 go build -v -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20240703 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.1.8 -s -w -extldflags "-static"" -o /media/sf_SamWaf/release/SamWafLinux64 main.go && upx -9 /media/sf_SamWaf/release/SamWafLinux64
docker run --rm -v "$PWD":/media/sf_SamWaf -w /media/sf_SamWaf -e CGO_ENABLED=1 -e GOPROXY=https://goproxy.cn,direct golang:1.22.3 go build -v -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20240704 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.1.9 -s -w -extldflags "-static"" -o /media/sf_SamWaf/release/SamWafLinux64 main.go && upx -9 /media/sf_SamWaf/release/SamWafLinux64
+2 -2
View File
@@ -99,10 +99,10 @@
<t-switch v-model="formData.isFooterAside"></t-switch>
</t-form-item>
</t-form>
<div class="setting-info">
<!--<div class="setting-info">
<p>请复制后手动修改配置文件: /src/config/style.ts</p>
<t-button theme="primary" variant="text" @click="handleCopy"> 复制配置项 </t-button>
</div>
</div>-->
</div>
</t-drawer>
</div>
+2 -2
View File
@@ -1,7 +1,7 @@
@echo on
chcp 65001
set currentpath=%cd%
set currentversion=v1.1.8
set currentdescription=新版提供便捷修改默认web端口功能,建议升级
set currentversion=v1.1.9
set currentdescription=新版增加稳定性,建议升级
%currentpath%\setup\go_gen_updatefile\go_gen_updatefile.exe -desc %currentdescription% -o %currentpath%\release\web\samwaf_update -platform windows-amd64 %currentpath%\release\SamWaf64.exe %currentversion%
%currentpath%\setup\go_gen_updatefile\go_gen_updatefile.exe -desc %currentdescription% -o %currentpath%\release\web\samwaf_update -platform linux-amd64 %currentpath%\release\SamWafLinux64 %currentversion%
+1 -1
View File
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SamWaf网站防火墙系统(Web Application Firewall)</title>
<script type="module" crossorigin src="./assets/index.e97cb7ae.js"></script>
<script type="module" crossorigin src="./assets/index.638ba5ab.js"></script>
<link rel="stylesheet" href="./assets/style.559a5c8f.css">
</head>
<body>