1.6.1
- fixed mfc140 extraction
This commit is contained in:
parent
97b2895c08
commit
d7aceb82bf
2 changed files with 1 additions and 7 deletions
|
@ -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"
|
||||||
|
|
|
@ -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)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue