mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-16 23:40:32 +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]]
|
[[package]]
|
||||||
name = "tauri-plugin-mihomo"
|
name = "tauri-plugin-mihomo"
|
||||||
version = "0.1.4"
|
version = "0.1.5"
|
||||||
source = "git+https://github.com/clash-verge-rev/tauri-plugin-mihomo#250839f40fbc78768c96eb0f2535ebc4adfe8cd3"
|
source = "git+https://github.com/clash-verge-rev/tauri-plugin-mihomo#1cc80bc0fbe1245315617f4cecd93710a152325b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"bytes",
|
"bytes",
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
- 支持订阅设置自动延时监测间隔
|
- 支持订阅设置自动延时监测间隔
|
||||||
- 新增流量隧道管理界面,支持可视化添加/删除隧道配置
|
- 新增流量隧道管理界面,支持可视化添加/删除隧道配置
|
||||||
|
- Masque 协议的 GUI 支持
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|||||||
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -136,7 +136,7 @@ importers:
|
|||||||
version: 2.4.0(react@19.2.4)
|
version: 2.4.0(react@19.2.4)
|
||||||
tauri-plugin-mihomo-api:
|
tauri-plugin-mihomo-api:
|
||||||
specifier: github:clash-verge-rev/tauri-plugin-mihomo#main
|
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:
|
types-pac:
|
||||||
specifier: ^1.0.3
|
specifier: ^1.0.3
|
||||||
version: 1.0.3
|
version: 1.0.3
|
||||||
@ -3549,9 +3549,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-fov56fJiRuThVFXD6o6/Q354S7pnWMJIVlDBYijsTNx6jKSE4pvrDTs6lUnmGvNyfJwFQQwWy3owKz1ucIhveQ==}
|
resolution: {integrity: sha512-fov56fJiRuThVFXD6o6/Q354S7pnWMJIVlDBYijsTNx6jKSE4pvrDTs6lUnmGvNyfJwFQQwWy3owKz1ucIhveQ==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
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:
|
||||||
resolution: {tarball: 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/1cc80bc0fbe1245315617f4cecd93710a152325b}
|
||||||
version: 0.1.2
|
version: 0.1.5
|
||||||
|
|
||||||
terser@5.46.0:
|
terser@5.46.0:
|
||||||
resolution: {integrity: sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg==}
|
resolution: {integrity: sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg==}
|
||||||
@ -7385,7 +7385,7 @@ snapshots:
|
|||||||
minizlib: 3.1.0
|
minizlib: 3.1.0
|
||||||
yallist: 5.0.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:
|
dependencies:
|
||||||
'@tauri-apps/api': 2.10.1
|
'@tauri-apps/api': 2.10.1
|
||||||
|
|
||||||
|
|||||||
@ -841,6 +841,7 @@ export const GroupsEditorViewer = (props: Props) => {
|
|||||||
"WireGuard",
|
"WireGuard",
|
||||||
"Tuic",
|
"Tuic",
|
||||||
"Mieru",
|
"Mieru",
|
||||||
|
"Masque",
|
||||||
"AnyTLS",
|
"AnyTLS",
|
||||||
"Sudoku",
|
"Sudoku",
|
||||||
"Relay",
|
"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;
|
multiplexing?: MieruMultiplexing;
|
||||||
"handshake-mode"?: string;
|
"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
|
// vless
|
||||||
interface IProxyVlessConfig extends IProxyBaseConfig {
|
interface IProxyVlessConfig extends IProxyBaseConfig {
|
||||||
name: string;
|
name: string;
|
||||||
@ -837,6 +852,7 @@ interface IProxyConfig
|
|||||||
IProxyAnyTLSConfig,
|
IProxyAnyTLSConfig,
|
||||||
IProxyTuicConfig,
|
IProxyTuicConfig,
|
||||||
IProxyMieruConfig,
|
IProxyMieruConfig,
|
||||||
|
IProxyMasqueConfig,
|
||||||
IProxyVlessConfig,
|
IProxyVlessConfig,
|
||||||
IProxyVmessConfig,
|
IProxyVmessConfig,
|
||||||
IProxyWireguardConfig,
|
IProxyWireguardConfig,
|
||||||
@ -862,6 +878,7 @@ interface IProxyConfig
|
|||||||
| "wireguard"
|
| "wireguard"
|
||||||
| "ssh"
|
| "ssh"
|
||||||
| "socks5"
|
| "socks5"
|
||||||
|
| "masque"
|
||||||
| "vmess"
|
| "vmess"
|
||||||
| "vless"
|
| "vless"
|
||||||
| "mieru"
|
| "mieru"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user