fluxa-desktop/src-tauri/tauri.conf.json
2026-06-27 20:47:10 +03:00

55 lines
1.7 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Fluxa Desktop",
"version": "../package.json",
"identifier": "com.fluxa.desktop",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:1420",
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build"
},
"app": {
"windows": [
{
"title": "Fluxa Desktop",
"width": 1280,
"height": 800,
"minWidth": 900,
"minHeight": 600,
"decorations": true,
"transparent": true,
"theme": "Dark"
}
],
"security": {
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src 'self' asset: http: https: data: blob:; media-src 'self' http: https: blob:; connect-src 'self' ipc: http://ipc.localhost http: https:; object-src 'none'; base-uri 'self'; frame-ancestors 'none'"
}
},
"bundle": {
"active": true,
"targets": ["deb", "rpm", "appimage", "nsis", "dmg"],
"createUpdaterArtifacts": true,
"windows": {
"nsis": {
"installMode": "both"
}
},
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"],
"resources": ["lib/**/*"]
},
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDkwMTE2RTg4MzgwRTJDRjcKUldUM0xBNDRpRzRSa0dobkJZZlN5LzdWWi9GR1h2UTVqMXV5cHBGS1JZYmJiTXZ6NCtmU1BIb1MK",
"endpoints": [
"https://github.com/FluxaMedia/fluxa-desktop/releases/latest/download/latest.json"
]
},
"deep-link": {
"mobile": [],
"desktop": {
"schemes": ["fluxa"]
}
}
}
}