mirror of
https://github.com/nimbold/Firelink.git
synced 2026-07-28 04:49:39 +00:00
6cf360bce0
- refactor(backend): use tokio::sync::Mutex for DbState and update commands to async - fix(backend): remove unconditional post-queue system action in scheduler - refactor(backend): remove dead WebSocket aria2 progress loop - fix(backend): use character count for deep link payload length check - fix(backend): implement dynamic port fallback for extension server - build(backend): apply macos codesigning step for release builds - security(backend): add explicitly defined Content-Security-Policy - fix(frontend): replace pause_download API call with remove_download for file cleanup - fix(frontend): resolve bug ignoring 0% progress reporting - fix(frontend): append instead of overwrite deep link URLs when Add Modal is open - style(frontend): append standard .dark class for dark mode themes - style(frontend): remove ghost row layout hack from download table - build: decouple typescript binding generation from build step
60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Firelink",
|
|
"version": "0.7.3",
|
|
"identifier": "com.nimbold.firelink",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Firelink",
|
|
"width": 1280,
|
|
"height": 760,
|
|
"minWidth": 1180,
|
|
"minHeight": 720,
|
|
"titleBarStyle": "Overlay",
|
|
"trafficLightPosition": {
|
|
"x": 17,
|
|
"y": 28
|
|
},
|
|
"hiddenTitle": true,
|
|
"transparent": true,
|
|
"windowEffects": {
|
|
"effects": ["sidebar", "mica"],
|
|
"state": "active"
|
|
}
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; img-src 'self' data: https:; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' ws://localhost:* http://localhost:* http://127.0.0.1:* ws://127.0.0.1:*"
|
|
},
|
|
"macOSPrivateApi": true
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": [
|
|
"binaries/**/*"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"deep-link": {
|
|
"desktop": {
|
|
"schemes": ["firelink"]
|
|
}
|
|
}
|
|
}
|
|
}
|