refactor: find the vpnc_script from predefined locations

This commit is contained in:
Kevin Yue
2023-06-26 09:23:26 +08:00
parent 4191e9a19f
commit 5603157679
5 changed files with 46 additions and 1 deletions

10
Cargo.lock generated
View File

@@ -1122,6 +1122,7 @@ dependencies = [
"bytes",
"cc",
"data-encoding",
"is_executable",
"log",
"ring",
"serde",
@@ -1416,6 +1417,15 @@ dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "is_executable"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8"
dependencies = [
"winapi",
]
[[package]]
name = "itoa"
version = "0.4.8"