chore: move import of Stdio to head

This commit is contained in:
HorizonCode committed 2026-05-27 19:55:56 +02:00
1 parent 3a27646da8
commit df8ee34e73
1 file changed
+1 -1
+1 -1
View File
@@ -4,6 +4,7 @@ use serde::{Deserialize, Serialize};
use std::collections::HashSet; use std::collections::HashSet;
use std::io::Read; use std::io::Read;
use std::path::PathBuf; use std::path::PathBuf;
use std::process::Stdio;
use sysinfo::System; use sysinfo::System;
use tauri::AppHandle; use tauri::AppHandle;
use tauri::Emitter; use tauri::Emitter;
@@ -993,7 +994,6 @@ pub async fn run_open_tablet_driver(path: String) -> Result<(), String> {
#[cfg(windows)] #[cfg(windows)]
{ {
use std::process::Stdio;
const CREATE_NO_WINDOW: u32 = 0x08000000; const CREATE_NO_WINDOW: u32 = 0x08000000;
Command::new(&otd_path) Command::new(&otd_path)