tauri.conf.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "package": {
  3. "productName": "clash-verge",
  4. "version": "0.0.3"
  5. },
  6. "build": {
  7. "distDir": "../dist",
  8. "devPath": "http://localhost:3000/proxy",
  9. "beforeDevCommand": "yarn run web:dev",
  10. "beforeBuildCommand": "yarn run web:build"
  11. },
  12. "tauri": {
  13. "systemTray": {
  14. "iconPath": "icons/icon.png",
  15. "iconAsTemplate": true
  16. },
  17. "bundle": {
  18. "active": true,
  19. "targets": "all",
  20. "identifier": "top.gydi.clashverge",
  21. "icon": [
  22. "icons/32x32.png",
  23. "icons/128x128.png",
  24. "icons/128x128@2x.png",
  25. "icons/icon.icns",
  26. "icons/icon.ico"
  27. ],
  28. "resources": [
  29. "resources"
  30. ],
  31. "externalBin": [
  32. "sidecar/clash"
  33. ],
  34. "copyright": "© 2021 zzzgydi All Rights Reserved",
  35. "category": "DeveloperTool",
  36. "shortDescription": "A Clash GUI based on tauri.",
  37. "longDescription": "A Clash GUI based on tauri.",
  38. "deb": {
  39. "depends": [],
  40. "useBootstrapper": false
  41. },
  42. "macOS": {
  43. "frameworks": [],
  44. "minimumSystemVersion": "",
  45. "useBootstrapper": false,
  46. "exceptionDomain": "",
  47. "signingIdentity": null,
  48. "entitlements": null
  49. },
  50. "windows": {
  51. "certificateThumbprint": null,
  52. "digestAlgorithm": "sha256",
  53. "timestampUrl": ""
  54. }
  55. },
  56. "updater": {
  57. "active": false
  58. },
  59. "allowlist": {
  60. "all": true
  61. },
  62. "windows": [
  63. {
  64. "title": "Clash Verge",
  65. "width": 800,
  66. "height": 600,
  67. "resizable": true,
  68. "fullscreen": false,
  69. "decorations": true,
  70. "transparent": false,
  71. "minWidth": 600,
  72. "minHeight": 520
  73. }
  74. ],
  75. "security": {
  76. "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
  77. }
  78. }
  79. }