Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
huzibaca committed Nov 30, 2024
1 parent 935cbeb commit ab4200d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn main() -> Result<(), Error> {

let debug = env::args().any(|arg| arg == "--debug");

let service_binary_path = std::env::current_exe()
let service_binary_path = env::current_exe()
.unwrap()
.with_file_name("clash-verge-service");
let target_binary_path = "/Library/PrivilegedHelperTools/io.github.clashverge.helper";
Expand Down Expand Up @@ -90,7 +90,7 @@ fn main() -> Result<(), Error> {

let debug = env::args().any(|arg| arg == "--debug");

let service_binary_path = std::env::current_exe()
let service_binary_path = env::current_exe()
.unwrap()
.with_file_name("clash-verge-service");

Expand Down Expand Up @@ -170,7 +170,7 @@ fn main() -> windows_service::Result<()> {
}
}

let service_binary_path = std::env::current_exe()
let service_binary_path = env::current_exe()
.unwrap()
.with_file_name("clash-verge-service.exe");

Expand Down

0 comments on commit ab4200d

Please sign in to comment.