mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
- Add http://localhost:* and ws://localhost:* to CSP connect-src (WebView2 was blocking LiveKit signal connection) - Add connection retry (3 attempts, 2s delay) for LiveKit server startup race condition ("could not find any available nodes") - Remove broken TURN TLS config from generated livekit.yaml - Send direct LiveKit URL instead of proxy path (localhost is treated as secure context in Chromium/WebView2) - Set LiveKit server host from API config for URL resolution
58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"productName": "OwnCord",
|
|
"version": "1.2.0",
|
|
"identifier": "com.owncord.client",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "OwnCord",
|
|
"width": 1280,
|
|
"height": 720,
|
|
"minWidth": 940,
|
|
"minHeight": 500,
|
|
"decorations": true,
|
|
"resizable": true,
|
|
"center": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; connect-src 'self' https: wss: http://localhost:* ws://localhost:* http://127.0.0.1:* ws://127.0.0.1:*; img-src 'self' https: data:; frame-src https://www.youtube.com https://youtube.com"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"createUpdaterArtifacts": "v1Compatible",
|
|
"targets": [
|
|
"nsis"
|
|
],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/icon.ico"
|
|
],
|
|
"windows": {
|
|
"nsis": {
|
|
"displayLanguageSelector": false,
|
|
"installerIcon": "icons/icon.ico"
|
|
}
|
|
}
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEJCQkQ0NzM1MjkxRTlGQTIKUldTaW54NHBOVWU5dTRqYW0yalI5VTJBd0NXOUZwM2UrcDM4YkhCSmlMZWJKWWVXaGJWdHBaSHgK",
|
|
"endpoints": [],
|
|
"dangerousAcceptInvalidCerts": true,
|
|
"dangerousAcceptInvalidHostnames": true,
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
}
|
|
}
|
|
}
|