tauri.conf.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "package": {
  3. "productName": "Clash Verge",
  4. "version": "1.5.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. "notification": {
  56. "all": true
  57. },
  58. "dialog": {
  59. "all": false,
  60. "open": true
  61. },
  62. "protocol": {
  63. "asset": true,
  64. "assetScope": ["$APPDATA/**", "$RESOURCE/../**"]
  65. },
  66. "path": {
  67. "all": true
  68. }
  69. },
  70. "windows": [],
  71. "security": {
  72. "csp": "script-src 'unsafe-eval' 'self'; default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'; img-src asset: http: https: data: 'self';"
  73. }
  74. }
  75. }