aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/Mod.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-09-04 17:02:52 +0200
committerGitHub <noreply@github.com>2023-09-04 17:02:52 +0200
commit546d49e183303b1e16741f72ce8583f0583423af (patch)
treecf57f5b10f75549fe888360cd0b3e1449f62b1dd /launcher/minecraft/mod/Mod.h
parente9ecdd05b915456cb0292acdb7d7ddfc00338171 (diff)
parentb0e197de38858c3fe6bc5fbb62570efd3359c802 (diff)
downloadPrismLauncher-546d49e183303b1e16741f72ce8583f0583423af.tar.gz
PrismLauncher-546d49e183303b1e16741f72ce8583f0583423af.tar.bz2
PrismLauncher-546d49e183303b1e16741f72ce8583f0583423af.zip
Merge pull request #1530 from Trial97/metadata_delete
Diffstat (limited to 'launcher/minecraft/mod/Mod.h')
-rw-r--r--launcher/minecraft/mod/Mod.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/Mod.h b/launcher/minecraft/mod/Mod.h
index 6dafecfc..e97ee9d3 100644
--- a/launcher/minecraft/mod/Mod.h
+++ b/launcher/minecraft/mod/Mod.h
@@ -93,6 +93,8 @@ class Mod : public Resource {
// Delete all the files of this mod
auto destroy(QDir& index_dir, bool preserve_metadata = false, bool attempt_trash = true) -> bool;
+ // Delete the metadata only
+ void destroyMetadata(QDir& index_dir);
void finishResolvingWithDetails(ModDetails&& details);