Age | Commit message (Collapse) | Author |
|
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>
|
|
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Joshua Goins <josh@redstrate.com>
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
fix https://github.com/PrismLauncher/PrismLauncher/issues/349
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Co-authored-by: flow <flowlnlnln@gmail.com>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
makes bundles slightly smaller on windows and macos:
- qopensslbackend will not be used neither on macos nor on qt6 windows, so let's just not copy it
- qcertonlybackend won't be used and wouldn't work for prism anyways as it doesn't support some features we use
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
|
|
|
|
|
|
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/360
|
|
Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
|
|
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
into import-resource-pack-dialog-uwu
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
|
|
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
|
|
It's a required condition.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/226
|
|
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
|
|
|
|
|
|
General utilities can go in here >:)
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
|
|
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
|
|
Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
|
|
also moved theme related code from Application.cpp to new ui/themes/ThemeManager.cpp, this class should cleanly isolate theme related functions and help avoid code duplication in future theme related additions.
Themes can now be just qss or css files, they won't have color pallette information with them in that case
Signed-off-by: Tayou <tayou@gmx.net>
|
|
Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
|
|
- Copy game options, copy resource packs, copy shaders,
copy servers, and copy mods
- Also made a new InstanceCopyPrefs struct to store those
options rather than passing 7 different booleans into
InstanceCopyTask's constructor
Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
|
|
|
|
|
|
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
... for old macs that don't have std::filesystem in their stdlib.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
|
|
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
|
|
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
|
|
These help us keep track of relevant metadata information about
overrides, so that we know what they are when we update a pack.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Signed-off-by: flow <flowlnlnln@gmail.com>
|