Files
shtil/poc/helper-tray/src-tauri/tauri.conf.json
T
TMSH 82eb829851 fix(helper): уточнены замеры PoC и поведение выхода
- prevent_exit только при code.is_none(): иначе app.exit(0)
  блокировался и процесс добивал скрипт
- замер ведётся по PrivateBytes — WorkingSetPrivate у простаивающих
  процессов занижен Windows
- capability окон с пустым permissions: команды приложения не входят
  в ACL, плагинов нет
- CSP дополнен connect-src для IPC по кастомному протоколу (Linux/macOS)
- first_paint после двойного requestAnimationFrame, лог замера
  откатывается в temp при недоступности каталога exe

Refs: 1.8.1, 1.8.2
2026-11-09 23:21:14 +03:00

30 lines
698 B
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "shtil-helper-poc",
"version": "0.1.0",
"identifier": "ru.tbsoft.shtil.helper.poc",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"windows": [],
"security": {
"csp": "default-src 'self'; style-src 'self' 'unsafe-inline'; connect-src ipc: http://ipc.localhost"
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}