Skip to content
Snippets Groups Projects
tauri.conf.json 2.25 KiB
Newer Older
GyDi's avatar
GyDi committed
{
  "package": {
GyDi's avatar
GyDi committed
    "productName": "Clash Verge",
GyDi's avatar
GyDi committed
    "version": "1.3.5"
GyDi's avatar
GyDi committed
  },
  "build": {
    "distDir": "../dist",
GyDi's avatar
GyDi committed
    "devPath": "http://localhost:3000/",
GyDi's avatar
GyDi committed
    "beforeDevCommand": "yarn run web:dev",
    "beforeBuildCommand": "yarn run web:build"
GyDi's avatar
GyDi committed
  },
  "tauri": {
    "systemTray": {
GyDi's avatar
GyDi committed
      "iconPath": "icons/tray-icon.ico",
GyDi's avatar
GyDi committed
      "iconAsTemplate": true
    },
    "bundle": {
      "active": true,
      "targets": "all",
GyDi's avatar
GyDi committed
      "identifier": "top.gydi.clashverge",
GyDi's avatar
GyDi committed
      "icon": [
        "icons/32x32.png",
        "icons/128x128.png",
        "icons/128x128@2x.png",
GyDi's avatar
GyDi committed
        "icons/icon-new.icns",
GyDi's avatar
GyDi committed
        "icons/icon.ico"
      ],
GyDi's avatar
GyDi committed
      "resources": ["resources"],
      "externalBin": ["sidecar/clash", "sidecar/clash-meta"],
GyDi's avatar
GyDi committed
      "copyright": "© 2022 zzzgydi All Rights Reserved",
GyDi's avatar
GyDi committed
      "category": "DeveloperTool",
GyDi's avatar
GyDi committed
      "shortDescription": "A Clash GUI based on tauri.",
      "longDescription": "A Clash GUI based on tauri.",
GyDi's avatar
GyDi committed
      "deb": {
        "depends": ["openssl"]
GyDi's avatar
GyDi committed
      },
      "macOS": {
        "frameworks": [],
        "minimumSystemVersion": "",
        "exceptionDomain": "",
        "signingIdentity": null,
        "entitlements": null
      },
      "windows": {
        "certificateThumbprint": null,
        "digestAlgorithm": "sha256",
GyDi's avatar
GyDi committed
        "timestampUrl": "",
        "wix": {
          "language": ["zh-CN", "en-US", "ru-RU"]
GyDi's avatar
GyDi committed
        }
GyDi's avatar
GyDi committed
      }
    },
    "updater": {
GyDi's avatar
GyDi committed
      "active": true,
      "endpoints": [
GyDi's avatar
GyDi committed
        "https://ghproxy.com/https://github.com/zzzgydi/clash-verge/releases/download/updater/update-proxy.json",
        "https://github.com/zzzgydi/clash-verge/releases/download/updater/update.json"
GyDi's avatar
GyDi committed
      ],
GyDi's avatar
GyDi committed
      "dialog": false,
GyDi's avatar
GyDi committed
      "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDExNUFBNTBBN0FDNEFBRTUKUldUbHFzUjZDcVZhRVRJM25NS3NkSFlFVElxUkNZMzZ6bHUwRVJjb2F3alJXVzRaeDdSaTA2YWYK"
GyDi's avatar
GyDi committed
    },
    "allowlist": {
GyDi's avatar
GyDi committed
      "shell": {
        "all": true
      },
      "window": {
        "all": true
GyDi's avatar
GyDi committed
      },
      "process": {
        "all": true
      },
      "globalShortcut": {
        "all": true
GyDi's avatar
GyDi committed
      }
GyDi's avatar
GyDi committed
    },
GyDi's avatar
GyDi committed
    "windows": [],
GyDi's avatar
GyDi committed
    "security": {
GyDi's avatar
GyDi committed
      "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';"
GyDi's avatar
GyDi committed
    }
  }
GyDi's avatar
GyDi committed
}