tauri.conf.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "build": {
  3. "distDir": ["../index.html"],
  4. "devPath": ["../index.html"],
  5. "withGlobalTauri": true
  6. },
  7. "tauri": {
  8. "bundle": {
  9. "active": true,
  10. "targets": "all",
  11. "identifier": "com.tauri.dev",
  12. "icon": [
  13. "../../.icons/32x32.png",
  14. "../../.icons/128x128.png",
  15. "../../.icons/128x128@2x.png",
  16. "../../.icons/icon.icns",
  17. "../../.icons/icon.ico"
  18. ],
  19. "resources": [],
  20. "externalBin": [],
  21. "copyright": "",
  22. "category": "DeveloperTool"
  23. },
  24. "allowlist": {
  25. "all": true
  26. },
  27. "windows": [
  28. {
  29. "label": "Main",
  30. "title": "Tauri - Main",
  31. "width": 800,
  32. "height": 600
  33. },
  34. {
  35. "label": "Secondary",
  36. "title": "Tauri - Secondary",
  37. "width": 600,
  38. "height": 400
  39. }
  40. ],
  41. "security": {
  42. "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'"
  43. },
  44. "updater": {
  45. "active": false
  46. }
  47. }
  48. }