From d7aceb82bfa56b286b6e143ec91c3a7c86d54365 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ Date: Wed, 7 Jun 2023 15:36:45 +0200 Subject: [PATCH] 1.6.1 - fixed mfc140 extraction --- Cargo.toml | 2 +- src/components/mfc140.rs | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e5e1250..b2d89e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "anime-launcher-sdk" -version = "1.6.0" +version = "1.6.1" authors = ["Nikita Podvirnyy "] license = "GPL-3.0" readme = "README.md" diff --git a/src/components/mfc140.rs b/src/components/mfc140.rs index df2eb11..554316f 100644 --- a/src/components/mfc140.rs +++ b/src/components/mfc140.rs @@ -45,8 +45,6 @@ pub fn install(wine_prefix: impl AsRef) -> anyhow::Result<()> { .arg("-d") .arg(&vcredist_extracted) .arg(vcredist_extracted.join("a11")) - .arg("-F") - .arg("a11") .spawn()? .wait_with_output()?; @@ -58,10 +56,6 @@ pub fn install(wine_prefix: impl AsRef) -> anyhow::Result<()> { for lib in LIBRARIES { let dest = wine_prefix.as_ref().join("drive_c/windows/system32").join(lib); - if dest.exists() { - std::fs::remove_file(&dest)?; - } - std::fs::copy(vcredist_extracted.join(lib), dest)?; }