tauri.conf.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "package": {
  3. "productName": "Clash Verge",
  4. "version": "1.4.3"
  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. "systemTray": {
  14. "iconPath": "icons/tray-icon.ico",
  15. "iconAsTemplate": true
  16. },
  17. "bundle": {
  18. "active": true,
  19. "targets": ["deb", "appimage", "nsis", "app", "dmg", "updater"],
  20. "identifier": "io.github.clash-verge-rev.clash-verge-rev",
  21. "icon": [
  22. "icons/32x32.png",
  23. "icons/128x128.png",
  24. "icons/128x128@2x.png",
  25. "icons/icon-new.icns",
  26. "icons/icon.ico"
  27. ],
  28. "resources": ["resources"],
  29. "externalBin": ["sidecar/clash-meta", "sidecar/clash-meta-alpha"],
  30. "copyright": "© 2022 zzzgydi All Rights Reserved",
  31. "category": "DeveloperTool",
  32. "shortDescription": "A Clash Meta GUI based on tauri.",
  33. "longDescription": "A Clash Meta GUI based on tauri.",
  34. "deb": {
  35. "depends": ["openssl"]
  36. },
  37. "macOS": {
  38. "frameworks": [],
  39. "minimumSystemVersion": "",
  40. "exceptionDomain": "",
  41. "signingIdentity": null,
  42. "entitlements": null
  43. },
  44. "windows": {
  45. "certificateThumbprint": null,
  46. "digestAlgorithm": "sha256",
  47. "timestampUrl": "",
  48. "webviewInstallMode": {
  49. "type": "embedBootstrapper",
  50. "silent": true
  51. },
  52. "nsis": {
  53. "displayLanguageSelector": true,
  54. "installerIcon": "icons/icon.ico",
  55. "languages": ["SimpChinese", "English"],
  56. "license": "../LICENSE"
  57. }
  58. }
  59. },
  60. "updater": {
  61. "active": true,
  62. "endpoints": [
  63. "https://mirror.ghproxy.com/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json",
  64. "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json"
  65. ],
  66. "dialog": false,
  67. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK"
  68. },
  69. "allowlist": {
  70. "shell": {
  71. "all": true
  72. },
  73. "window": {
  74. "all": true
  75. },
  76. "process": {
  77. "all": true
  78. },
  79. "globalShortcut": {
  80. "all": true
  81. },
  82. "clipboard": {
  83. "all": true
  84. }
  85. },
  86. "windows": [],
  87. "security": {
  88. "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';"
  89. }
  90. }
  91. }