aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-19 22:18:55 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2023-07-19 22:18:55 +0200
commit28c2627f37310e8d47bb5e63f89e1b8e3e33d266 (patch)
tree04e71591df94afe57ac116772cca78a89b52e79c
parent794817d54572fe3923a00e58df350d4e5d733373 (diff)
parent0d06d88aaf59a9496fbaf9a8a94a17eccb836ed7 (diff)
downloadFlightCore-28c2627f37310e8d47bb5e63f89e1b8e3e33d266.tar.gz
FlightCore-28c2627f37310e8d47bb5e63f89e1b8e3e33d266.zip
Merge branch 'feat/delete-package' into dev/packages
-rw-r--r--src-tauri/src/mod_management/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src-tauri/src/mod_management/mod.rs b/src-tauri/src/mod_management/mod.rs
index e1939e08..6eb7da51 100644
--- a/src-tauri/src/mod_management/mod.rs
+++ b/src-tauri/src/mod_management/mod.rs
@@ -648,10 +648,6 @@ pub fn delete_thunderstore_mod(
// Check packages
let packages_folder = format!("{}/R2Northstar/packages", game_install.game_path);
if std::path::Path::new(&packages_folder).exists() {
- println!(
- "Directory {} exists. Listing subdirectories...",
- packages_folder
- );
for entry in fs::read_dir(packages_folder).unwrap() {
let entry = entry.unwrap();
@@ -663,7 +659,6 @@ pub fn delete_thunderstore_mod(
let entry_path = entry.path();
let package_folder_ts_string = entry_path.file_name().unwrap().to_string_lossy();
- dbg!(package_folder_ts_string.clone());
if package_folder_ts_string != thunderstore_mod_string {
// Not the mod folder we are looking for, try the next one\