tauri.conf.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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": "24.10.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": null
  53. },
  54. "updater": {
  55. "active": false
  56. },
  57. "windows": [
  58. {
  59. "label": "main",
  60. "title": "Hoppscotch",
  61. "visible": false,
  62. "fullscreen": false,
  63. "resizable": true,
  64. "width": 800,
  65. "height": 600,
  66. "fileDropEnabled": false
  67. }
  68. ]
  69. }
  70. }