mirror of https://github.com/ospab/ostp.git
gui: fix helper lookup path for dev workspace
This commit is contained in:
parent
87540166f6
commit
77c0701695
|
|
@ -461,6 +461,8 @@ fn find_helper_exe() -> Option<PathBuf> {
|
||||||
cwd.join("target").join("release").join("ostp-tun-helper.exe"),
|
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("debug").join("ostp-tun-helper.exe"),
|
||||||
cwd.join("..").join("target").join("release").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 {
|
for path in &candidates {
|
||||||
if path.exists() { return Some(path.clone()); }
|
if path.exists() { return Some(path.clone()); }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue