tauri.conf.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "package": {
  3. "productName": "Clash Nyanpasu",
  4. "version": "1.3.7"
  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": "all",
  20. "identifier": "moe.elaina.clash.nyanpasu",
  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": ["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. "wix": {
  49. "language": ["zh-CN", "en-US", "ru-RU"]
  50. }
  51. }
  52. },
  53. "updater": {
  54. "active": true,
  55. "endpoints": [
  56. "https://ghproxy.com/https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update-proxy.json",
  57. "https://github.com/keiko233/clash-nyanpasu/releases/download/updater/update.json"
  58. ],
  59. "dialog": false,
  60. "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDlBMUM0NjMxREZCNDRGMjYKUldRbVQ3VGZNVVljbW43N0FlWjA4UkNrbTgxSWxSSXJQcExXNkZjUTlTQkIyYkJzL0tsSWF2d0cK"
  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. "security": {
  78. "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';"
  79. }
  80. }
  81. }