tauri.conf.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "package": {
  3. "productName": "clash-verge",
  4. "version": "0.0.17"
  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/icon.png",
  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.icns",
  26. "icons/icon.ico"
  27. ],
  28. "resources": ["resources"],
  29. "externalBin": ["sidecar/clash"],
  30. "copyright": "© 2021 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. "useBootstrapper": false
  37. },
  38. "macOS": {
  39. "frameworks": [],
  40. "minimumSystemVersion": "",
  41. "useBootstrapper": false,
  42. "exceptionDomain": "",
  43. "signingIdentity": null,
  44. "entitlements": null
  45. },
  46. "windows": {
  47. "certificateThumbprint": null,
  48. "digestAlgorithm": "sha256",
  49. "timestampUrl": ""
  50. }
  51. },
  52. "updater": {
  53. "active": true,
  54. "endpoints": [
  55. "https://github.com/zzzgydi/clash-verge/releases/download/updater/update.json"
  56. ],
  57. "dialog": false,
  58. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDExNUFBNTBBN0FDNEFBRTUKUldUbHFzUjZDcVZhRVRJM25NS3NkSFlFVElxUkNZMzZ6bHUwRVJjb2F3alJXVzRaeDdSaTA2YWYK"
  59. },
  60. "allowlist": {
  61. "shell": {
  62. "all": true
  63. },
  64. "window": {
  65. "all": true
  66. }
  67. },
  68. "windows": [
  69. {
  70. "title": "Clash Verge",
  71. "width": 800,
  72. "height": 600,
  73. "resizable": true,
  74. "fullscreen": false,
  75. "decorations": false,
  76. "transparent": true,
  77. "minWidth": 600,
  78. "minHeight": 520
  79. }
  80. ],
  81. "security": {
  82. "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
  83. }
  84. }
  85. }