tauri.conf.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "$schema": "https://schema.tauri.app/config/2",
  3. "productName": "termCap",
  4. "version": "0.1.0",
  5. "identifier": "com.termCap.app",
  6. "build": {
  7. "beforeDevCommand": "yarn dev",
  8. "devUrl": "http://localhost:5555",
  9. "beforeBuildCommand": "yarn build",
  10. "frontendDist": "../dist"
  11. },
  12. "app": {
  13. "windows": [
  14. {
  15. "center": true,
  16. "transparent": true,
  17. "decorations": false,
  18. "minWidth": 1200,
  19. "minHeight": 760,
  20. "shadow": false,
  21. "devtools": true
  22. }
  23. ],
  24. "security": {
  25. "csp": {
  26. "default-src": "'self' customprotocol: asset:",
  27. "connect-src": "ipc: http://ipc.localhost",
  28. "font-src": ["https://fonts.gstatic.com"],
  29. "img-src": "'self' asset: http://asset.localhost blob: data:",
  30. "style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com",
  31. "media-src":"'self'"
  32. }
  33. },
  34. "macOSPrivateApi": true
  35. },
  36. "bundle": {
  37. "active": true,
  38. "targets": "all",
  39. "icon": [
  40. "icons/32x32.png",
  41. "icons/128x128.png",
  42. "icons/128x128@2x.png",
  43. "icons/icon.icns",
  44. "icons/icon.ico"
  45. ]
  46. }
  47. }