tauri.conf.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "build": {
  3. "beforeDevCommand": "pnpm dev",
  4. "beforeBuildCommand": "pnpm build",
  5. "devPath": "http://localhost:3000",
  6. "distDir": "../dist",
  7. "withGlobalTauri": false
  8. },
  9. "package": {
  10. "productName": "Hoppscotch",
  11. "version": "23.12.2"
  12. },
  13. "tauri": {
  14. "allowlist": {
  15. "all": false,
  16. "shell": {
  17. "all": false,
  18. "open": true
  19. },
  20. "os": {
  21. "all": true
  22. },
  23. "fs": {
  24. "writeFile": true
  25. },
  26. "dialog": {
  27. "save": true
  28. },
  29. "http": {
  30. "all": true,
  31. "request": true,
  32. "scope": ["http://*", "https://*", "wss://*"]
  33. },
  34. "window": {
  35. "startDragging": true
  36. }
  37. },
  38. "bundle": {
  39. "active": true,
  40. "category": "DeveloperTool",
  41. "icon": [
  42. "icons/32x32.png",
  43. "icons/128x128.png",
  44. "icons/128x128@2x.png",
  45. "icons/icon.icns",
  46. "icons/icon.ico"
  47. ],
  48. "identifier": "io.hoppscotch.desktop",
  49. "targets": "all"
  50. },
  51. "security": {
  52. "csp": "none"
  53. },
  54. "updater": {
  55. "active": false
  56. },
  57. "windows": [
  58. {
  59. "fullscreen": false,
  60. "resizable": true,
  61. "title": "Hoppscotch",
  62. "width": 800,
  63. "height": 600,
  64. "fileDropEnabled": false
  65. }
  66. ]
  67. }
  68. }