aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/helpers/HashUtils.cpp
AgeCommit message (Collapse)Author
2023-03-12fix: explicit conversion to C string to fix MinGW g++ 10 buildKenneth Chew
Signed-off-by: Kenneth Chew <kenneth.c0@protonmail.com>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. 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>
2022-11-11Merge pull request #304 from Ryex/move-downloadsflow
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/222
2022-11-07fix: use cross-platform toStdString in FlameHasherflow
Almost the same issue from toml++ :p Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-01watch filesystem, compute and match hashesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-07-24refactor: add a HashUtils place for hashing stuffflow
Signed-off-by: flow <flowlnlnln@gmail.com>