tauri.conf.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "$schema": "../node_modules/@tauri-apps/cli/schema.json",
  3. "package": {
  4. "productName": "Clash Verge",
  5. "version": "1.7.7"
  6. },
  7. "build": {
  8. "distDir": "../dist",
  9. "devPath": "http://localhost:3000/",
  10. "beforeDevCommand": "pnpm run web:dev",
  11. "beforeBuildCommand": "pnpm run web:build"
  12. },
  13. "tauri": {
  14. "bundle": {
  15. "active": true,
  16. "identifier": "io.github.clash-verge-rev.clash-verge-rev",
  17. "icon": [
  18. "icons/32x32.png",
  19. "icons/128x128.png",
  20. "icons/128x128@2x.png",
  21. "icons/icon.icns",
  22. "icons/icon.ico"
  23. ],
  24. "resources": ["resources"],
  25. "publisher": "Clash Verge Rev",
  26. "externalBin": ["sidecar/verge-mihomo", "sidecar/verge-mihomo-alpha"],
  27. "copyright": "GNU General Public License v3.0",
  28. "category": "DeveloperTool",
  29. "shortDescription": "A Clash Meta GUI based on tauri.",
  30. "longDescription": "A Clash Meta GUI based on tauri."
  31. },
  32. "updater": {
  33. "active": true,
  34. "endpoints": [
  35. "https://mirror.ghproxy.com/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json",
  36. "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json"
  37. ],
  38. "dialog": false,
  39. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK"
  40. },
  41. "allowlist": {
  42. "shell": {
  43. "all": true
  44. },
  45. "window": {
  46. "all": true
  47. },
  48. "process": {
  49. "all": true
  50. },
  51. "globalShortcut": {
  52. "all": true
  53. },
  54. "clipboard": {
  55. "all": true
  56. },
  57. "notification": {
  58. "all": true
  59. },
  60. "dialog": {
  61. "all": false,
  62. "open": true
  63. },
  64. "protocol": {
  65. "asset": true,
  66. "assetScope": ["$APPDATA/**", "$RESOURCE/../**", "**"]
  67. },
  68. "path": {
  69. "all": true
  70. },
  71. "fs": {
  72. "exists": true,
  73. "readFile": true,
  74. "scope": ["$APPDATA/**", "$RESOURCE/../**", "**"]
  75. }
  76. },
  77. "windows": [],
  78. "security": {
  79. "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: asset: 'unsafe-eval' 'unsafe-inline' 'self';"
  80. }
  81. }
  82. }