- fixed mfc140 extraction
This commit is contained in:
Observer KRypt0n_ 2023-06-07 15:36:45 +02:00
parent 97b2895c08
commit d7aceb82bf
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
2 changed files with 1 additions and 7 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "anime-launcher-sdk" name = "anime-launcher-sdk"
version = "1.6.0" version = "1.6.1"
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"] authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
license = "GPL-3.0" license = "GPL-3.0"
readme = "README.md" readme = "README.md"

View file

@ -45,8 +45,6 @@ pub fn install(wine_prefix: impl AsRef<Path>) -> anyhow::Result<()> {
.arg("-d") .arg("-d")
.arg(&vcredist_extracted) .arg(&vcredist_extracted)
.arg(vcredist_extracted.join("a11")) .arg(vcredist_extracted.join("a11"))
.arg("-F")
.arg("a11")
.spawn()? .spawn()?
.wait_with_output()?; .wait_with_output()?;
@ -58,10 +56,6 @@ pub fn install(wine_prefix: impl AsRef<Path>) -> anyhow::Result<()> {
for lib in LIBRARIES { for lib in LIBRARIES {
let dest = wine_prefix.as_ref().join("drive_c/windows/system32").join(lib); 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)?; std::fs::copy(vcredist_extracted.join(lib), dest)?;
} }