Finish mod installing and uninstalling

This commit is contained in:
Lncvrt committed 2026-03-24 18:01:24 -07:00
1 parent ea1c05d2d9
commit 60f9f95be4
6 files changed
+138 -39

No files matched your search

+6 -1
View File
@@ -149,6 +149,7 @@ async fn download(
name: String,
hash: String,
download_type: i8,
mod_id: String,
) -> String {
println!("[download] Starting download for '{}' from '{}'", name, url);
let _ = app.emit("download-start", format!("{}", name));
@@ -464,7 +465,11 @@ async fn download(
app.clone(),
download_zip_path.clone(),
if download_type == 2 {
game_path.join(&name).join("BepInEx").join("plugins")
game_path
.join(&name)
.join("BepInEx")
.join("plugins")
.join(&mod_id)
} else {
game_path.join(&name)
},