aboutsummaryrefslogtreecommitdiff
path: root/launcher/ResourceDownloadTask.h
AgeCommit message (Collapse)Author
2023-05-28Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into developTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-28Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into Fix_Assert Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-04Merge branch 'Fix_Assert' of github.com:Trial97/PrismLauncher into developTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-03Removed commentTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-05-03Moved the selected resources to one listTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-27Removed formated but not used filesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-22Better version handlingTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Fixed assertTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Updated linksTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21Refator task to work with multiple providersTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-04-21First working version with curseforge modsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-01-23fix(license): add/fix my copyright/license headersflow
*sobbing in messy legal stuff i know nothing about* Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor(RD): allow setting custom folder target for downloaded resourcesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor(RD): decouple ResourceModels from ResourcePagesflow
This makes it so that we don't need a reference to the parent page in the model. It will be useful once we change the page from a widget-based one to a QML page. It also makes tasks be created in the dialog instead of the page, so that the dialog can also have the necessary information to mark versions as selected / deselected easily. It also makes the task pointers into smart pointers. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-13refactor: generalize mod models and APIs to resourcesflow
Firstly, this abstract away behavior in the mod download models that can also be applied to other types of resources into a superclass, allowing other resource types to be implemented without so much code duplication. For that, this also generalizes the APIs used (currently, ModrinthAPI and FlameAPI) to be able to make requests to other types of resources. It also does a general cleanup of both of those. In particular, this makes use of std::optional instead of invalid values for errors and, well, optional values :p This is a squash of some commits that were becoming too interlaced together to be cleanly separated. Signed-off-by: flow <flowlnlnln@gmail.com>