diff --git a/Cargo.toml b/Cargo.toml index be07316..17c10bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ build = "build.rs" [dependencies] reqwest = { version = "0.11.22", features = ["blocking"] } -winapi = { version = "0.3", features = ["wincon", "winuser"] } +winapi = { version = "0.3", features = ["wincon"] } anyhow = "1.0.75" glob = "0.3.1" zip = "0.6.6" diff --git a/src/main.rs b/src/main.rs index 854803e..2f2f214 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,10 @@ use anyhow::Context; use launcher::{apply_zip, download}; use std::env; -use std::io::{BufRead, BufReader, Read, Write}; +use std::io::{BufRead, BufReader, Write}; use std::os::windows::process::CommandExt; use std::path::Path; use std::process::Stdio; -use std::thread; -use std::time::Duration; use std::{env::set_current_dir, fs, io, process::Command}; use winapi::um::winbase::DETACHED_PROCESS;