Updated HP Driver
This commit is contained in:
parent
a47ba511c9
commit
a38b1658c7
3 changed files with 4 additions and 4 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -306,7 +306,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "oh5_printer_installer"
|
||||
version = "1.0.3"
|
||||
version = "1.0.4"
|
||||
dependencies = [
|
||||
"crossterm",
|
||||
"ureq",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "oh5_printer_installer"
|
||||
version = "1.0.3"
|
||||
version = "1.0.4"
|
||||
edition = "2024"
|
||||
build = "build.rs"
|
||||
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ pub fn hp_color(stdout: &mut Stdout) {
|
|||
|
||||
// 4. Treiber installieren
|
||||
println!("Installiere Druckertreiber...");
|
||||
let inf_path = driver_path.join("hpcu315u.inf");
|
||||
let inf_path = driver_path.join("hpcu345u.inf");
|
||||
let _ = Command::new("pnputil")
|
||||
.args(["/add-driver", inf_path.to_str().unwrap(), "/install"])
|
||||
.status();
|
||||
|
|
@ -263,7 +263,7 @@ pub fn hp_mono(stdout: &mut Stdout) {
|
|||
|
||||
// 4. Treiber installieren
|
||||
println!("Installiere Druckertreiber...");
|
||||
let inf_path = driver_path.join("hpcu315u.inf");
|
||||
let inf_path = driver_path.join("hpcu345u.inf");
|
||||
let _ = Command::new("pnputil")
|
||||
.args(["/add-driver", inf_path.to_str().unwrap(), "/install"])
|
||||
.status();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue