mirror of
https://github.com/yuzu-emu/liftinstall
synced 2024-11-23 16:53:56 +00:00
Artificially increasing installation time is the best measure (not)
This commit is contained in:
parent
ec145fbd2d
commit
012f0b87fb
1 changed files with 0 additions and 3 deletions
|
@ -7,8 +7,6 @@ use tasks::TaskParamType;
|
|||
|
||||
use std::fs::create_dir_all;
|
||||
use std::fs::read_dir;
|
||||
use std::thread;
|
||||
use std::time::Duration;
|
||||
|
||||
pub struct VerifyInstallDirTask {
|
||||
pub clean_install: bool,
|
||||
|
@ -34,7 +32,6 @@ impl Task for VerifyInstallDirTask {
|
|||
.map_err(|x| format!("Failed to create install directory: {:?}", x))?;
|
||||
}
|
||||
|
||||
thread::sleep(Duration::new(1, 0));
|
||||
if self.clean_install {
|
||||
let paths = read_dir(&path)
|
||||
.map_err(|x| format!("Failed to read install destination: {:?}", x))?;
|
||||
|
|
Loading…
Reference in a new issue