feat: add Windows service for elevated tunnel operations with IPC communication

Add Windows service to handle WireGuard tunnel operations with elevated privileges. Implement IPC server on TCP port 53189 for client-service communication using JSON protocol. Add install-service and uninstall-service commands to NSIS installer hooks for automatic service installation. Replace direct WireGuard calls with IPC requests when running on Windows. Add TunnelRequest and TunnelResponse types for IPC protocol
This commit is contained in:
2026-03-17 21:56:13 +01:00
parent 767c633afa
commit a3e5eb32ec
5 changed files with 329 additions and 35 deletions

View File

@@ -1,6 +1,12 @@
{
"$schema": "https://schema.tauri.app/config/2",
"bundle": {
"targets": ["nsis"]
"targets": ["nsis"],
"windows": {
"nsis": {
"installMode": "perMachine",
"installerHooks": "./windows/hooks.nsh"
}
}
}
}