tauri.conf.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "package": {
  3. "productName": "Clash Verge",
  4. "version": "1.4.4"
  5. },
  6. "build": {
  7. "distDir": "../dist",
  8. "devPath": "http://localhost:3000/",
  9. "beforeDevCommand": "pnpm run web:dev",
  10. "beforeBuildCommand": "pnpm run web:build"
  11. },
  12. "tauri": {
  13. "bundle": {
  14. "active": true,
  15. "identifier": "io.github.clash-verge-rev.clash-verge-rev",
  16. "icon": [
  17. "icons/32x32.png",
  18. "icons/128x128.png",
  19. "icons/128x128@2x.png",
  20. "icons/icon-new.icns",
  21. "icons/icon.ico"
  22. ],
  23. "resources": ["resources"],
  24. "externalBin": ["sidecar/clash-meta", "sidecar/clash-meta-alpha"],
  25. "copyright": "© 2022 zzzgydi All Rights Reserved",
  26. "category": "DeveloperTool",
  27. "shortDescription": "A Clash Meta GUI based on tauri.",
  28. "longDescription": "A Clash Meta GUI based on tauri."
  29. },
  30. "updater": {
  31. "active": true,
  32. "endpoints": [
  33. "https://mirror.ghproxy.com/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json",
  34. "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json"
  35. ],
  36. "dialog": false,
  37. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK"
  38. },
  39. "allowlist": {
  40. "shell": {
  41. "all": true
  42. },
  43. "window": {
  44. "all": true
  45. },
  46. "process": {
  47. "all": true
  48. },
  49. "globalShortcut": {
  50. "all": true
  51. },
  52. "clipboard": {
  53. "all": true
  54. }
  55. },
  56. "windows": [],
  57. "security": {
  58. "csp": "script-src 'unsafe-eval' 'self'; default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'; img-src data: 'self';"
  59. }
  60. }
  61. }