From 448c6f343984b48b3ba7e1b9faaab54651b758f9 Mon Sep 17 00:00:00 2001 From: GeckoEidechse Date: Fri, 21 Jul 2023 12:14:56 +0200 Subject: docs: Add comment explaining "legacy package" --- src-tauri/src/mod_management/legacy.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src-tauri/src/mod_management/legacy.rs b/src-tauri/src/mod_management/legacy.rs index 3136a618..8ca24269 100644 --- a/src-tauri/src/mod_management/legacy.rs +++ b/src-tauri/src/mod_management/legacy.rs @@ -117,6 +117,10 @@ pub fn parse_installed_mods( /// Deletes all legacy packages that match in author and mod name /// regardless of version +/// +/// "legacy package" refers to a Thunderstore package installed into the `mods` folder +/// by extracting Northstar mods contained inside and then adding `manifest.json` and `thunderstore_author.txt` +/// to indicate which Thunderstore package they are part of pub fn delete_legacy_package_install( thunderstore_mod_string: &str, game_install: &GameInstall, -- cgit v1.2.3