Files
NexaVPN/desktop-client/src-tauri/tauri.conf.json
nessi d72a32cce1 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.
2026-03-18 07:06:20 +01:00

38 lines
715 B
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "NexaVPN",
"version": "0.1.0",
"identifier": "com.nexavpn.desktop",
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"devUrl": "http://localhost:4173",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "NexaVPN",
"width": 1120,
"height": 760,
"resizable": false,
"maximizable": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/icon.png",
"icons/icon.ico"
],
"resources": [
"bundled/**/*"
]
}
}