tauri.conf.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "$schema": "https://schema.tauri.app/config/2",
  3. "productName": "LuatOS Flasher",
  4. "version": "0.1.0",
  5. "identifier": "com.luatos.flasher",
  6. "mainBinaryName": "LuatOS Flasher",
  7. "build": {
  8. "frontendDist": "../ui"
  9. },
  10. "app": {
  11. "withGlobalTauri": true,
  12. "windows": [
  13. {
  14. "label": "main",
  15. "title": "LuatOS Flasher",
  16. "width": 1180,
  17. "height": 820,
  18. "minWidth": 940,
  19. "minHeight": 680,
  20. "resizable": true,
  21. "center": true,
  22. "titleBarStyle": "Overlay",
  23. "hiddenTitle": true,
  24. "dragDropEnabled": true
  25. }
  26. ],
  27. "security": {
  28. "csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src ipc: http://ipc.localhost"
  29. }
  30. },
  31. "bundle": {
  32. "active": true,
  33. "targets": ["app", "dmg"],
  34. "category": "DeveloperTool",
  35. "shortDescription": "LuatOS 固件烧录工具",
  36. "longDescription": "LuatOS firmware flasher for macOS, powered by luatos-cli.",
  37. "icon": [
  38. "icons/32x32.png",
  39. "icons/128x128.png",
  40. "icons/128x128@2x.png",
  41. "icons/icon.icns",
  42. "icons/icon.ico"
  43. ],
  44. "externalBin": ["binaries/luatos-cli"],
  45. "resources": ["mcp/luatos-mcp.mjs"],
  46. "macOS": {
  47. "minimumSystemVersion": "12.0"
  48. }
  49. }
  50. }