tauri.conf.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "package": {
  3. "productName": "Clash Verge",
  4. "version": "0.0.23"
  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": "© 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. "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. "https://hub.fastgit.xyz/zzzgydi/clash-verge/releases/download/updater/update-proxy.json"
  57. ],
  58. "dialog": false,
  59. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDExNUFBNTBBN0FDNEFBRTUKUldUbHFzUjZDcVZhRVRJM25NS3NkSFlFVElxUkNZMzZ6bHUwRVJjb2F3alJXVzRaeDdSaTA2YWYK"
  60. },
  61. "allowlist": {
  62. "shell": {
  63. "all": true
  64. },
  65. "window": {
  66. "all": true
  67. }
  68. },
  69. "windows": [
  70. {
  71. "title": "Clash Verge",
  72. "width": 800,
  73. "height": 600,
  74. "resizable": true,
  75. "fullscreen": false,
  76. "decorations": false,
  77. "transparent": true,
  78. "minWidth": 600,
  79. "minHeight": 520
  80. }
  81. ],
  82. "security": {
  83. "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
  84. }
  85. }
  86. }