docs: drop dangling "(A)" label; explain the merge direction inline

This commit is contained in:
Leadaxe 2026-06-09 18:04:06 +03:00
parent 7e50606f80
commit a2307b51f7
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ So neither fork alone works for sing-box-lx:
| `amnezia-vpn/amneziawg-go` | ❌ | ✅ | | `amnezia-vpn/amneziawg-go` | ❌ | ✅ |
| **this fork** | ✅ | ✅ | | **this fork** | ✅ | ✅ |
The approach is **(A): keep the sagernet base, graft the obfuscation onto it.** sing-box compiles unchanged against this fork, and a config without AWG fields behaves exactly like plain WireGuard. The approach: **keep the sagernet base and graft the obfuscation onto it** — rather than the reverse (adding sagernet's APIs to amneziawg-go, which would route even plain WireGuard through a foreign device). This way sing-box compiles unchanged, the obfuscation is additive and off by default, and a config without AWG fields behaves exactly like plain WireGuard.
## How the merge works ## How the merge works

View file

@ -21,7 +21,7 @@ WireGuard-endpoint sing-box нуждается в добавках **sagernet/wi
| `amnezia-vpn/amneziawg-go` | ❌ | ✅ | | `amnezia-vpn/amneziawg-go` | ❌ | ✅ |
| **этот форк** | ✅ | ✅ | | **этот форк** | ✅ | ✅ |
Подход **(A): берём sagernet-базу и граффтим обфускацию на неё.** sing-box компилируется с этим форком без изменений, а конфиг без AWG-полей ведёт себя как обычный WireGuard. Подход: **берём sagernet-базу и граффтим обфускацию на неё**а не наоборот (не дотачиваем sagernet-API к amneziawg-go, иначе даже обычный WireGuard шёл бы через чужой device). Так sing-box компилируется без изменений, обфускация аддитивна и выключена по умолчанию, а конфиг без AWG-полей ведёт себя как обычный WireGuard.
## Как устроен merge ## Как устроен merge