tauri.conf.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "build": {
  3. "beforeDevCommand": "npm run dev",
  4. "beforeBuildCommand": "pnpm run build",
  5. "devPath": "http://localhost:1420",
  6. "distDir": "../dist",
  7. "withGlobalTauri": false
  8. },
  9. "package": {
  10. "productName": "AppFlowy",
  11. "version": "0.0.0"
  12. },
  13. "tauri": {
  14. "allowlist": {
  15. "all": false,
  16. "shell": {
  17. "all": false,
  18. "open": true
  19. },
  20. "fs": {
  21. "all": true,
  22. "scope": ["$APPLOCALDATA/**", "$APPLOCALDATA/images/*"],
  23. "readFile": true,
  24. "writeFile": true,
  25. "readDir": true,
  26. "copyFile": true,
  27. "createDir": true,
  28. "removeDir": true,
  29. "removeFile": true,
  30. "renameFile": true,
  31. "exists": true
  32. }
  33. },
  34. "bundle": {
  35. "active": true,
  36. "category": "DeveloperTool",
  37. "copyright": "",
  38. "deb": {
  39. "depends": []
  40. },
  41. "externalBin": [],
  42. "icon": [
  43. "icons/32x32.png",
  44. "icons/128x128.png",
  45. "icons/[email protected]",
  46. "icons/icon.icns",
  47. "icons/icon.ico"
  48. ],
  49. "identifier": "com.appflowy.tauri",
  50. "longDescription": "",
  51. "macOS": {
  52. "entitlements": null,
  53. "exceptionDomain": "",
  54. "frameworks": [],
  55. "providerShortName": null,
  56. "signingIdentity": null,
  57. "minimumSystemVersion": "10.15.0"
  58. },
  59. "resources": [],
  60. "shortDescription": "",
  61. "targets": "all",
  62. "windows": {
  63. "certificateThumbprint": null,
  64. "digestAlgorithm": "sha256",
  65. "timestampUrl": ""
  66. }
  67. },
  68. "security": {
  69. "csp": null
  70. },
  71. "updater": {
  72. "active": false
  73. },
  74. "windows": [
  75. {
  76. "fullscreen": false,
  77. "height": 1200,
  78. "resizable": true,
  79. "title": "AppFlowy",
  80. "width": 1200
  81. }
  82. ]
  83. }
  84. }