fix(脚本): 修复sing-box DNS Timeout问题

master
mack-a 2025-08-21 21:23:40 +08:00
parent 5af1423a0a
commit 5f76d91240
3 changed files with 21 additions and 13 deletions

View File

@ -42,12 +42,19 @@ jobs:
with:
script: |
const tag = "${{ steps.version.outputs.file_version }}";
const commits = await github.rest.repos.listCommits({
owner: context.repo.owner,
repo: context.repo.repo,
per_page: 1
});
const lastMessage = commits.data[0].commit.message;
const release = await github.rest.repos.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: tag,
body: `Auto-generated release for version ${tag}`
body: lastMessage
}).catch(err => console.log(`Skip release ${err.message}`));
const { data: releases } = await github.rest.repos.listReleases({

View File

@ -23,6 +23,7 @@
"type": "https",
"server": "1.1.1.1",
"server_port": 443,
"detour": "自动选择",
"path": "/dns-query",
"domain_resolver": "dns_resolver"
},
@ -50,35 +51,31 @@
{
"action": "route",
"clash_mode": "direct",
"server": "dns_direct",
"strategy": "prefer_ipv4"
"server": "dns_direct"
},
{
"action": "route",
"clash_mode": "global",
"server": "dns_proxy",
"strategy": "prefer_ipv4"
"server": "dns_proxy"
},
{
"action": "route",
"rule_set": "geosite-cn",
"server": "dns_direct",
"strategy": "prefer_ipv4"
"server": "dns_direct"
},
{
"action": "route",
"rule_set": "geoip-cn",
"server": "dns_direct",
"strategy": "prefer_ipv4"
"server": "dns_direct"
},
{
"action": "route",
"rule_set": "geosite-geolocation-!cn",
"server": "dns_proxy",
"strategy": "prefer_ipv4"
"server": "dns_proxy"
}
],
"independent_cache": true,
"strategy": "prefer_ipv4",
"final": "dns_direct"
},
"inbounds": [
@ -356,6 +353,10 @@
"protocol": "dns",
"action": "hijack-dns"
},
{
"ip_is_private": true,
"outbound": "direct"
},
{
"clash_mode": "global",
"outbound": "手动切换"

View File

@ -9945,7 +9945,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者mack-a"
echoContent green "当前版本v3.4.24"
echoContent green "当前版本v3.4.25"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus