Updated HP Driver

This commit is contained in:
Joey Pillunat-Klebb | OH5 2025-11-04 09:56:15 +01:00
parent a47ba511c9
commit a38b1658c7
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View file

@ -306,7 +306,7 @@ dependencies = [
[[package]]
name = "oh5_printer_installer"
version = "1.0.3"
version = "1.0.4"
dependencies = [
"crossterm",
"ureq",

View file

@ -1,6 +1,6 @@
[package]
name = "oh5_printer_installer"
version = "1.0.3"
version = "1.0.4"
edition = "2024"
build = "build.rs"

View file

@ -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();