Auto-select TAP adapters and persist edge settings

This commit is contained in:
2026-09-01 21:39:58 +08:00
parent 3694d157d1
commit 57e6ba8e1e
5 changed files with 187 additions and 14 deletions
+9
View File
@@ -49,6 +49,15 @@ The portable build creates `release/super-n2n-portable.zip`. It contains
`n2n/edge.exe` and `n2n/supernode.exe`; on Windows Super N2N starts them with
the relative paths `./n2n/edge.exe` and `./n2n/supernode.exe`.
### Windows TAP requirement
N2N uses an installed TAP-Windows virtual adapter; it does not create a new
adapter itself. Super N2N automatically selects an available TAP-Windows
adapter before starting Edge and reports a clear error when none is installed.
The optional TAP device field is only needed to select a specific existing
adapter. Connection settings, including advanced settings, are restored on the
next application launch.
## Gitea Actions
`.gitea/workflows/build-windows.yml` runs when a Release is published and uploads