diff options
author | flow <flowlnlnln@gmail.com> | 2023-01-29 18:07:49 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2023-02-05 17:02:56 -0300 |
commit | ada5e88eb933a41691121316c78cd2e564965fa0 (patch) | |
tree | 05cbf24f0e42e2a673ac8fafcd04de434b9d1b0d /launcher/meta/Version.h | |
parent | b724607e31d102c50cb42225b4a31f2932b2eb61 (diff) | |
download | PrismLauncher-ada5e88eb933a41691121316c78cd2e564965fa0.tar.gz PrismLauncher-ada5e88eb933a41691121316c78cd2e564965fa0.tar.bz2 PrismLauncher-ada5e88eb933a41691121316c78cd2e564965fa0.zip |
feat(RD): add texture pack downloader
This extends the resource pack downloader, with the custom behavior of
filtering the versions that shows up, to those <= 1.6. As always, Flame
is funky and requires a bit more workarounds than average.
This will also get a nice improvement when the Version parsing and
comparison PR gets merged! :D
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/meta/Version.h')
-rw-r--r-- | launcher/meta/Version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/meta/Version.h b/launcher/meta/Version.h index 7228fa36..78156193 100644 --- a/launcher/meta/Version.h +++ b/launcher/meta/Version.h @@ -16,6 +16,7 @@ #pragma once #include "BaseVersion.h" +#include "../Version.h" #include <QJsonObject> #include <QStringList> @@ -85,6 +86,8 @@ public: QString localFilename() const override; + [[nodiscard]] ::Version toComparableVersion() const; + public: // for usage by format parsers only void setType(const QString &type); void setTime(const qint64 time); |