fix: remove AsRawFd import (unix-only, não existe no Windows)
Build Fechamento de Caixa / build (macos-14, app) (push) Has been cancelled
Build Fechamento de Caixa / build (ubuntu-22.04, deb) (push) Has been cancelled
Build Fechamento de Caixa / build (windows-2022, msi) (push) Has been cancelled

This commit is contained in:
root
2026-06-23 16:13:06 +00:00
parent d623d11e23
commit fa1e973f8c
-2
View File
@@ -175,9 +175,7 @@ impl PrinterManager {
#[cfg(windows)]
fn test_device(&self, path: &str) -> bool {
use std::os::windows::io::AsRawFd;
use std::process::Command;
// Try opening the device
let out = Command::new("cmd")
.args(["/C", &format!("type {} < nul 2>&1", path)])
.output();