tauri.conf.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "package": {
  3. "productName": "Clash Verge",
  4. "version": "1.0.6"
  5. },
  6. "build": {
  7. "distDir": "../dist",
  8. "devPath": "http://localhost:3000/",
  9. "beforeDevCommand": "yarn run web:dev",
  10. "beforeBuildCommand": "yarn 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": "all",
  20. "identifier": "top.gydi.clashverge",
  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", "sidecar/clash-meta"],
  30. "copyright": "© 2022 zzzgydi All Rights Reserved",
  31. "category": "DeveloperTool",
  32. "shortDescription": "A Clash GUI based on tauri.",
  33. "longDescription": "A Clash GUI based on tauri.",
  34. "deb": {
  35. "depends": []
  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. "wix": {
  49. "language": ["zh-CN", "en-US"]
  50. }
  51. }
  52. },
  53. "updater": {
  54. "active": true,
  55. "endpoints": [
  56. "https://github.com/zzzgydi/clash-verge/releases/download/updater/update.json",
  57. "https://hub.fastgit.xyz/zzzgydi/clash-verge/releases/download/updater/update-proxy.json"
  58. ],
  59. "dialog": false,
  60. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDExNUFBNTBBN0FDNEFBRTUKUldUbHFzUjZDcVZhRVRJM25NS3NkSFlFVElxUkNZMzZ6bHUwRVJjb2F3alJXVzRaeDdSaTA2YWYK"
  61. },
  62. "allowlist": {
  63. "shell": {
  64. "all": true
  65. },
  66. "window": {
  67. "all": true
  68. },
  69. "process": {
  70. "all": true
  71. },
  72. "globalShortcut": {
  73. "all": true
  74. }
  75. },
  76. "windows": [
  77. {
  78. "title": "Clash Verge",
  79. "width": 800,
  80. "height": 636,
  81. "center": true,
  82. "resizable": true,
  83. "fullscreen": false,
  84. "decorations": false,
  85. "transparent": true,
  86. "minWidth": 600,
  87. "minHeight": 520
  88. }
  89. ],
  90. "security": {
  91. "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';"
  92. }
  93. }
  94. }