Files
omv-dijiang/works/patch/include/registry.go.patch
T

33 lines
1.2 KiB
Diff

--- a/include/registry.go
+++ b/include/registry.go
@@ -26,6 +26,9 @@
"github.com/sagernet/sing-box/protocol/group"
"github.com/sagernet/sing-box/protocol/http"
"github.com/sagernet/sing-box/protocol/mixed"
+ "github.com/sagernet/sing-box/protocol/minecraft" // OMV
+ "github.com/sagernet/sing-box/protocol/mysql" // OMV
+ "github.com/sagernet/sing-box/protocol/obfhttp" // OMV
"github.com/sagernet/sing-box/protocol/naive"
"github.com/sagernet/sing-box/protocol/redirect"
"github.com/sagernet/sing-box/protocol/shadowsocks"
@@ -69,6 +72,9 @@
shadowtls.RegisterInbound(registry)
vless.RegisterInbound(registry)
anytls.RegisterInbound(registry)
+ mysql.RegisterInbound(registry) // OMV
+ minecraft.RegisterInbound(registry) // OMV
+ obfhttp.RegisterInbound(registry) // OMV
registerQUICInbounds(registry)
registerCloudflaredInbound(registry)
@@ -100,6 +106,9 @@
shadowtls.RegisterOutbound(registry)
vless.RegisterOutbound(registry)
anytls.RegisterOutbound(registry)
+ mysql.RegisterOutbound(registry) // OMV
+ minecraft.RegisterOutbound(registry) // OMV
+ obfhttp.RegisterOutbound(registry) // OMV
registerQUICOutbounds(registry)
registerStubForRemovedOutbounds(registry)