aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/mod_management/mod.rs
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-20 13:09:44 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-20 13:09:44 +0200
commit06cdb5d191897dcafd93dea9cf23e7a1a1708d8f (patch)
treed079d39db3f77640323d92023409dfad0f214964 /src-tauri/src/mod_management/mod.rs
parentd335e7483dfd1959945ee06038c02877a349ef66 (diff)
downloadFlightCore-06cdb5d191897dcafd93dea9cf23e7a1a1708d8f.tar.gz
FlightCore-06cdb5d191897dcafd93dea9cf23e7a1a1708d8f.zip
Bump libthermite to 0.7.0-alpha.1
Diffstat (limited to 'src-tauri/src/mod_management/mod.rs')
-rw-r--r--src-tauri/src/mod_management/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src-tauri/src/mod_management/mod.rs b/src-tauri/src/mod_management/mod.rs
index cef7ff71..c8b0fde8 100644
--- a/src-tauri/src/mod_management/mod.rs
+++ b/src-tauri/src/mod_management/mod.rs
@@ -575,12 +575,13 @@ pub async fn fc_download_mod_and_install(
// Get directory to install to made up of packages directory and Thunderstore mod string
let install_directory = format!(
- "{}/R2Northstar/packages/{}",
- game_install.game_path, thunderstore_mod_string
+ "{}/R2Northstar/packages/",
+ game_install.game_path
);
// Extract the mod to the mods directory
match thermite::core::manage::install_with_sanity(
+ thunderstore_mod_string,
temp_file.file(),
std::path::Path::new(&install_directory),
fc_sanity_check,