diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-01-25 10:43:23 +0100 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2023-01-25 10:43:23 +0100 |
commit | 199a7df807994ded1469cc893e6c68c21307444f (patch) | |
tree | 9e7e5f464fca32cf6578cf58a73b09870d845d87 /launcher/minecraft/PackProfile.h | |
parent | cd893e18d24d61c62f048d0c82c85b981f6e9a65 (diff) | |
download | PrismLauncher-199a7df807994ded1469cc893e6c68c21307444f.tar.gz PrismLauncher-199a7df807994ded1469cc893e6c68c21307444f.tar.bz2 PrismLauncher-199a7df807994ded1469cc893e6c68c21307444f.zip |
refactor: add error handling to component import
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/minecraft/PackProfile.h')
-rw-r--r-- | launcher/minecraft/PackProfile.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/launcher/minecraft/PackProfile.h b/launcher/minecraft/PackProfile.h index 8b885aa8..e5b398db 100644 --- a/launcher/minecraft/PackProfile.h +++ b/launcher/minecraft/PackProfile.h @@ -90,7 +90,7 @@ public: void installCustomJar(QString selectedFile); /// install MMC/Prism component files - void installComponents(QStringList selectedFiles); + bool installComponents(QStringList selectedFiles); /// install Java agent files void installAgents(QStringList selectedFiles); @@ -177,7 +177,6 @@ private: bool load(); bool installJarMods_internal(QStringList filepaths); bool installCustomJar_internal(QString filepath); - bool installComponents_internal(QStringList filepaths); bool installAgents_internal(QStringList filepaths); bool removeComponent_internal(ComponentPtr patch); |