60 lines
1.5 KiB
JSON
60 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "MiniVLESS",
|
|
"version": "0.1.0",
|
|
"identifier": "dev.minivless.desktop",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"devUrl": "http://127.0.0.1:1420",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "MiniVLESS",
|
|
"width": 420,
|
|
"height": 600,
|
|
"minWidth": 380,
|
|
"minHeight": 540,
|
|
"resizable": true,
|
|
"decorations": false,
|
|
"theme": "Dark",
|
|
"backgroundColor": "#1b1e22"
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src ipc: http://ipc.localhost; object-src 'none'; base-uri 'none'; frame-ancestors 'none'",
|
|
"capabilities": [
|
|
{
|
|
"identifier": "main-window",
|
|
"windows": [
|
|
"main"
|
|
],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:allow-close"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": [
|
|
"deb"
|
|
],
|
|
"category": "Utility",
|
|
"shortDescription": "Personal VLESS client",
|
|
"resources": {
|
|
"../binaries/sing-box": "binaries/sing-box",
|
|
"../binaries/LICENSE.sing-box": "binaries/LICENSE.sing-box"
|
|
},
|
|
"icon": [
|
|
"icons/icon.png"
|
|
]
|
|
}
|
|
}
|