aboutsummaryrefslogtreecommitdiff
path: root/launcher/ModDownloadTask.h
AgeCommit message (Collapse)Author
2022-07-17feat: remove existing mod when updating/redownloading itflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-07-17fix: provide default value to is_indexed in ModDownloadTaskflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-06-12chore: add license headersSefa Eyeoglu
2022-06-12refactor(test): fix loading mod metadata settingSefa Eyeoglu
2022-05-23chore: add license headersflow
Prevents a massive inload of Scrumplex ditto's :) I didn't add it to every file modified in this PR because the other changes are pretty minor, and would explode the diff of the PR. I hope that's not a problem O_O
2022-05-23refactor: move mod tasks to their own subfolderflow
Makes the launcher/minecraft/mod/ folder a little more organized.
2022-05-23feat: add mod index updating to ModDownloadTaskflow
This makes ModDownloadTask into a SequentialTask with 2 subtasks: Downloading the mod files and updating the index with the new information. The index updating is done first so that, in the future, we can prompt the user before download if, for instance, we discover there's another version already installed.
2022-02-21feat: change task container in ModDownloadDialog to a QHashflow
Previously, we used a unique_ptr to a ModDownloadTask to keep track of the selected mod to download when we accepted the dialog. In order to allow multiple mods to be selected at once for download, this has been changed to a QHash where the key is the mods name (since it doesn't seem right to allow for multiple versions of the same mod to be downloaded at once), and the value is a pointer to the corresponding ModDownloadTask.
2022-01-14Removing copyrightstimoreo
2022-01-14Fixed iconstimoreo
Also having a mod loader is now enforced
2022-01-14Added the downloading of the modstimoreo
2022-01-14Start of mod downloadingtimoreo