tauri.conf.json 1.8 KB

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