Skip to content

Commit 56d1523

Browse files
committed
feat(tun): support auto-route while clash-rs support it
1 parent 4cf40c2 commit 56d1523

File tree

1 file changed

+1
-0
lines changed
  • backend/tauri/src/enhance

1 file changed

+1
-0
lines changed

backend/tauri/src/enhance/tun.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ pub fn use_tun(mut config: Mapping, enable: bool) -> Mapping {
4646
};
4747
if core == ClashCore::ClashRs {
4848
append!(tun_val, "device-id", "dev://utun1989");
49+
append!(tun_val, "auto-route", true);
4950
} else {
5051
let mut tun_stack = {
5152
*Config::verge()

0 commit comments

Comments
 (0)