v1.5.1 增强程序稳定性

This commit is contained in:
robin
2026-03-22 17:37:40 +08:00
parent afbaaa869c
commit 17e182b413
652 changed files with 22949 additions and 34397 deletions

View File

@@ -41,17 +41,7 @@ function build() {
cd "$ROOT""/../../EdgeNode/build" || exit
echo "=============================="
for arch in "${NODE_ARCHITECTS[@]}"; do
# 查找 zip 文件时不包含 plus 标记
if [ "${TAG}" = "plus" ]; then
NODE_ZIP_FILE="$ROOT""/../../EdgeNode/dist/edge-node-linux-${arch}-v${NodeVersion}.zip"
else
NODE_ZIP_FILE="$ROOT""/../../EdgeNode/dist/edge-node-linux-${arch}-${TAG}-v${NodeVersion}.zip"
fi
if [ ! -f "$NODE_ZIP_FILE" ]; then
./build.sh linux "$arch" $TAG
else
echo "use built node linux/$arch/v${NodeVersion}"
fi
./build.sh linux "$arch" $TAG
done
echo "=============================="
cd - || exit

View File

@@ -1,5 +1,5 @@
user: root
password: 123456
host: 127.0.0.1:3306
host: 127.0.0.1:3308
database: db_edge
boolFields: [ "uamIsOn", "followPort", "requestHostExcludingPort", "autoRemoteStart", "autoInstallNftables", "enableIPLists", "detectAgents", "checkingPorts", "enableRecordHealthCheck", "offlineIsNotified", "http2Enabled", "http3Enabled", "enableHTTP2", "retry50X", "retry40X", "autoSystemTuning", "disableDefaultDB", "autoTrimDisks", "enableGlobalPages", "ignoreLocal", "ignoreSearchEngine" ]

View File

@@ -5,8 +5,9 @@
CWD="$(dirname "$0")"
SQL_JSON="${CWD}/../internal/setup/sql.json"
if [ -f "$SQL_JSON" ]; then
echo "sql.json already exists, skipping sql-dump (delete it manually to regenerate)"
else
if [ "$1" = "--force" ] || [ ! -f "$SQL_JSON" ]; then
rm -f "$SQL_JSON"
go run "${CWD}"/../cmd/sql-dump/main.go -dir="${CWD}"
else
echo "sql.json exists, skip (use --force to regenerate)"
fi