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