tauri.conf.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "build": {
  3. "distDir": "../public",
  4. "devPath": "http://localhost:5000",
  5. "beforeDevCommand": "yarn dev",
  6. "beforeBuildCommand": "yarn build"
  7. },
  8. "tauri": {
  9. "bundle": {
  10. "active": true,
  11. "targets": "all",
  12. "identifier": "com.tauri.{{ plugin_name }}",
  13. "icon": [
  14. "icons/32x32.png",
  15. "icons/128x128.png",
  16. "icons/128x128@2x.png",
  17. "icons/icon.icns",
  18. "icons/icon.ico"
  19. ],
  20. "resources": [],
  21. "externalBin": [],
  22. "copyright": "",
  23. "category": "DeveloperTool",
  24. "shortDescription": "",
  25. "longDescription": "",
  26. "deb": {
  27. "depends": [],
  28. "useBootstrapper": false
  29. },
  30. "macOS": {
  31. "frameworks": [],
  32. "minimumSystemVersion": "",
  33. "useBootstrapper": false,
  34. "exceptionDomain": ""
  35. }
  36. },
  37. "allowlist": {
  38. "all": true
  39. },
  40. "windows": [
  41. {
  42. "title": "Tauri App",
  43. "width": 800,
  44. "height": 600,
  45. "resizable": true,
  46. "fullscreen": false
  47. }
  48. ],
  49. "security": {
  50. "csp": "default-src blob: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline'"
  51. }
  52. }
  53. }