gui: fix helper lookup path for dev workspace

This commit is contained in:
ospab 2026-05-25 23:16:24 +03:00
parent 87540166f6
commit 77c0701695
1 changed files with 2 additions and 0 deletions

View File

@ -461,6 +461,8 @@ fn find_helper_exe() -> Option<PathBuf> {
cwd.join("target").join("release").join("ostp-tun-helper.exe"),
cwd.join("..").join("target").join("debug").join("ostp-tun-helper.exe"),
cwd.join("..").join("target").join("release").join("ostp-tun-helper.exe"),
cwd.join("..").join("..").join("target").join("debug").join("ostp-tun-helper.exe"),
cwd.join("..").join("..").join("target").join("release").join("ostp-tun-helper.exe"),
];
for path in &candidates {
if path.exists() { return Some(path.clone()); }