tauri.conf.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "package": {
  3. "productName": "Clash Verge",
  4. "version": "1.1.2"
  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": [
  29. "resources"
  30. ],
  31. "externalBin": [
  32. "sidecar/clash",
  33. "sidecar/clash-meta"
  34. ],
  35. "copyright": "© 2022 zzzgydi All Rights Reserved",
  36. "category": "DeveloperTool",
  37. "shortDescription": "A Clash GUI based on tauri.",
  38. "longDescription": "A Clash GUI based on tauri.",
  39. "deb": {
  40. "depends": []
  41. },
  42. "macOS": {
  43. "frameworks": [],
  44. "minimumSystemVersion": "",
  45. "exceptionDomain": "",
  46. "signingIdentity": null,
  47. "entitlements": null
  48. },
  49. "windows": {
  50. "certificateThumbprint": null,
  51. "digestAlgorithm": "sha256",
  52. "timestampUrl": "",
  53. "wix": {
  54. "language": [
  55. "zh-CN",
  56. "en-US"
  57. ]
  58. }
  59. }
  60. },
  61. "updater": {
  62. "active": true,
  63. "endpoints": [
  64. "https://github.com/zzzgydi/clash-verge/releases/download/updater/update.json",
  65. "https://hub.fastgit.xyz/zzzgydi/clash-verge/releases/download/updater/update-proxy.json"
  66. ],
  67. "dialog": false,
  68. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDExNUFBNTBBN0FDNEFBRTUKUldUbHFzUjZDcVZhRVRJM25NS3NkSFlFVElxUkNZMzZ6bHUwRVJjb2F3alJXVzRaeDdSaTA2YWYK"
  69. },
  70. "allowlist": {
  71. "shell": {
  72. "all": true
  73. },
  74. "window": {
  75. "all": true
  76. },
  77. "process": {
  78. "all": true
  79. },
  80. "globalShortcut": {
  81. "all": true
  82. }
  83. },
  84. "windows": [],
  85. "security": {
  86. "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';"
  87. }
  88. }
  89. }