tauri.conf.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "package": {
  3. "productName": "Clash Verge",
  4. "version": "0.1.0"
  5. },
  6. "build": {
  7. "distDir": "../dist",
  8. "devPath": "http://localhost:3000/proxy",
  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": "com.tauri.dev",
  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": "",
  31. "category": "DeveloperTool",
  32. "shortDescription": "",
  33. "longDescription": "",
  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": false
  54. },
  55. "allowlist": {
  56. "all": true
  57. },
  58. "windows": [
  59. {
  60. "title": "Clash Verge",
  61. "width": 800,
  62. "height": 600,
  63. "resizable": true,
  64. "fullscreen": false,
  65. "decorations": true,
  66. "transparent": false,
  67. "minWidth": 600,
  68. "minHeight": 520
  69. }
  70. ],
  71. "security": {
  72. "csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
  73. }
  74. }
  75. }