feat: add single instance enforcement with TCP socket lock

Add single instance check using TCP listener on 127.0.0.1:53190 to prevent multiple application instances. Move AppState initialization into setup closure to include single_instance_lock field. Remove window close prevention and focus restoration handlers. Make main window non-resizable and non-maximizable.
This commit is contained in:
2026-03-18 07:06:20 +01:00
parent 31369a7743
commit d72a32cce1
2 changed files with 14 additions and 18 deletions

View File

@@ -15,7 +15,8 @@
"title": "NexaVPN",
"width": 1120,
"height": 760,
"resizable": true
"resizable": false,
"maximizable": false
}
],
"security": {