Compare commits

..

30 commits

Author SHA1 Message Date
DHR60
89155f6dd0
Merge 7841c9fe84 into c669e72189 2025-08-07 16:05:56 +08:00
DHR60
7841c9fe84 Updates translations 2025-08-03 11:52:33 +08:00
DHR60
59e69b4d66 Updates sing-box documentation link 2025-08-03 11:51:03 +08:00
DHR60
be09e8bc5d Fixes 2025-08-03 11:51:03 +08:00
DHR60
257bf51ded Adds anytls reality support 2025-08-03 11:51:03 +08:00
DHR60
20883380d6 Deletes Duplicate Rules 2025-08-03 11:51:03 +08:00
DHR60
9bccdf1dac Adds sing-box DomainStrategy support 2025-08-03 11:51:03 +08:00
DHR60
3ed34eb02f Adds tag resolver supports 2025-08-03 11:51:03 +08:00
DHR60
83c862afea Support sing-box hosts 2025-08-03 11:51:03 +08:00
DHR60
8f0d4be095 Removes Wireguard listen port 2025-08-03 11:51:03 +08:00
DHR60
da8417165d Adds properties to Rule4Sbox class 2025-08-03 11:51:03 +08:00
DHR60
56b619de1c Improves DNS address parsing in Singbox
DNS type, host, port, and path
2025-08-03 11:51:03 +08:00
DHR60
0fbb2f6f32 Removes direct clash_mode domain strategy 2025-08-03 11:51:03 +08:00
DHR60
8756e078a7 Fixes wrong field 2025-08-03 11:51:03 +08:00
DHR60
4f4ca3cf91 fix singbox endpoints proxy chain not work 2025-08-03 11:51:03 +08:00
DHR60
0be355ae8c Fixes config generation 2025-08-03 11:51:03 +08:00
DHR60
9506e049e7 Refactors DNS address parsing 2025-08-03 11:51:03 +08:00
DHR60
9a56824db5 Adds IPv4 preference to DNS configurations
对应原dns.servers[].strategy = prefer_ipv4
2025-08-03 11:51:03 +08:00
DHR60
cfe56fad0c Adds Sing-box legacy DNS config support 2025-08-03 11:51:03 +08:00
DHR60
1bfd3e7d08 Utils.GetFreePort() default port to be zero 2025-08-03 11:51:03 +08:00
DHR60
aec8cb7e64 support Wireguard endpoint
Refactors Singbox config classes for dial fields
2025-08-03 11:51:03 +08:00
DHR60
0f96af3142 Fetches DNS strategy for domain resolution 2025-08-03 11:51:03 +08:00
DHR60
9030830575 Enables dhcp interface configuration 2025-08-03 11:51:02 +08:00
DHR60
fcdb46581b Simplifies local DNS address handling 2025-08-03 11:51:02 +08:00
DHR60
ddedde53ea add anytls support 2025-08-03 11:51:02 +08:00
DHR60
4f15452fe2 Improves geoip rule handling in singbox 2025-08-03 11:50:33 +08:00
DHR60
648fe837f5 Adds Google cn dns rules 2025-08-03 11:50:32 +08:00
DHR60
5cdaae0a7f Migrating to singbox 1.12 support 2025-08-03 11:50:32 +08:00
DHR60
1a75faaf4f Removes unnecessary sniffer 2025-08-03 11:50:32 +08:00
DHR60
563396031f Migrating to singbox 1.11 support 2025-08-03 11:50:32 +08:00

View file

@ -25,6 +25,8 @@ public class CoreHandler
Environment.SetEnvironmentVariable(Global.V2RayLocalAsset, Utils.GetBinPath(""), EnvironmentVariableTarget.Process); Environment.SetEnvironmentVariable(Global.V2RayLocalAsset, Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
Environment.SetEnvironmentVariable(Global.XrayLocalAsset, Utils.GetBinPath(""), EnvironmentVariableTarget.Process); Environment.SetEnvironmentVariable(Global.XrayLocalAsset, Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
Environment.SetEnvironmentVariable(Global.XrayLocalCert, Utils.GetBinPath(""), EnvironmentVariableTarget.Process); Environment.SetEnvironmentVariable(Global.XrayLocalCert, Utils.GetBinPath(""), EnvironmentVariableTarget.Process);
// TODO Temporary addition to support proper use of sing-box v1.12
Environment.SetEnvironmentVariable("ENABLE_DEPRECATED_SPECIAL_OUTBOUNDS", "true", EnvironmentVariableTarget.Process);
//Copy the bin folder to the storage location (for init) //Copy the bin folder to the storage location (for init)
if (Environment.GetEnvironmentVariable(Global.LocalAppData) == "1") if (Environment.GetEnvironmentVariable(Global.LocalAppData) == "1")