mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
feat: Masque (#6303)
This commit is contained in:
parent
87f55cfce7
commit
31c0910919
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -7612,8 +7612,8 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tauri-plugin-mihomo"
|
||||
version = "0.1.4"
|
||||
source = "git+https://github.com/clash-verge-rev/tauri-plugin-mihomo#250839f40fbc78768c96eb0f2535ebc4adfe8cd3"
|
||||
version = "0.1.5"
|
||||
source = "git+https://github.com/clash-verge-rev/tauri-plugin-mihomo#1cc80bc0fbe1245315617f4cecd93710a152325b"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"bytes",
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
- 支持订阅设置自动延时监测间隔
|
||||
- 新增流量隧道管理界面,支持可视化添加/删除隧道配置
|
||||
- Masque 协议的 GUI 支持
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -136,7 +136,7 @@ importers:
|
||||
version: 2.4.0(react@19.2.4)
|
||||
tauri-plugin-mihomo-api:
|
||||
specifier: github:clash-verge-rev/tauri-plugin-mihomo#main
|
||||
version: https://codeload.github.com/clash-verge-rev/tauri-plugin-mihomo/tar.gz/250839f40fbc78768c96eb0f2535ebc4adfe8cd3
|
||||
version: https://codeload.github.com/clash-verge-rev/tauri-plugin-mihomo/tar.gz/1cc80bc0fbe1245315617f4cecd93710a152325b
|
||||
types-pac:
|
||||
specifier: ^1.0.3
|
||||
version: 1.0.3
|
||||
@ -3549,9 +3549,9 @@ packages:
|
||||
resolution: {integrity: sha512-fov56fJiRuThVFXD6o6/Q354S7pnWMJIVlDBYijsTNx6jKSE4pvrDTs6lUnmGvNyfJwFQQwWy3owKz1ucIhveQ==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
tauri-plugin-mihomo-api@https://codeload.github.com/clash-verge-rev/tauri-plugin-mihomo/tar.gz/250839f40fbc78768c96eb0f2535ebc4adfe8cd3:
|
||||
resolution: {tarball: https://codeload.github.com/clash-verge-rev/tauri-plugin-mihomo/tar.gz/250839f40fbc78768c96eb0f2535ebc4adfe8cd3}
|
||||
version: 0.1.2
|
||||
tauri-plugin-mihomo-api@https://codeload.github.com/clash-verge-rev/tauri-plugin-mihomo/tar.gz/1cc80bc0fbe1245315617f4cecd93710a152325b:
|
||||
resolution: {tarball: https://codeload.github.com/clash-verge-rev/tauri-plugin-mihomo/tar.gz/1cc80bc0fbe1245315617f4cecd93710a152325b}
|
||||
version: 0.1.5
|
||||
|
||||
terser@5.46.0:
|
||||
resolution: {integrity: sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg==}
|
||||
@ -7385,7 +7385,7 @@ snapshots:
|
||||
minizlib: 3.1.0
|
||||
yallist: 5.0.0
|
||||
|
||||
tauri-plugin-mihomo-api@https://codeload.github.com/clash-verge-rev/tauri-plugin-mihomo/tar.gz/250839f40fbc78768c96eb0f2535ebc4adfe8cd3:
|
||||
tauri-plugin-mihomo-api@https://codeload.github.com/clash-verge-rev/tauri-plugin-mihomo/tar.gz/1cc80bc0fbe1245315617f4cecd93710a152325b:
|
||||
dependencies:
|
||||
'@tauri-apps/api': 2.10.1
|
||||
|
||||
|
||||
@ -841,6 +841,7 @@ export const GroupsEditorViewer = (props: Props) => {
|
||||
"WireGuard",
|
||||
"Tuic",
|
||||
"Mieru",
|
||||
"Masque",
|
||||
"AnyTLS",
|
||||
"Sudoku",
|
||||
"Relay",
|
||||
|
||||
17
src/types/global.d.ts
vendored
17
src/types/global.d.ts
vendored
@ -595,6 +595,21 @@ interface IProxyMieruConfig extends IProxyBaseConfig {
|
||||
multiplexing?: MieruMultiplexing;
|
||||
"handshake-mode"?: string;
|
||||
}
|
||||
// masque
|
||||
interface IProxyMasqueConfig extends IProxyBaseConfig {
|
||||
name: string;
|
||||
type: "masque";
|
||||
server?: string;
|
||||
port?: number;
|
||||
"private-key"?: string;
|
||||
"public-key"?: string;
|
||||
ip?: string;
|
||||
ipv6?: string;
|
||||
mtu?: number;
|
||||
udp?: boolean;
|
||||
"remote-dns-resolve"?: boolean;
|
||||
dns?: string[];
|
||||
}
|
||||
// vless
|
||||
interface IProxyVlessConfig extends IProxyBaseConfig {
|
||||
name: string;
|
||||
@ -837,6 +852,7 @@ interface IProxyConfig
|
||||
IProxyAnyTLSConfig,
|
||||
IProxyTuicConfig,
|
||||
IProxyMieruConfig,
|
||||
IProxyMasqueConfig,
|
||||
IProxyVlessConfig,
|
||||
IProxyVmessConfig,
|
||||
IProxyWireguardConfig,
|
||||
@ -862,6 +878,7 @@ interface IProxyConfig
|
||||
| "wireguard"
|
||||
| "ssh"
|
||||
| "socks5"
|
||||
| "masque"
|
||||
| "vmess"
|
||||
| "vless"
|
||||
| "mieru"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user