f541ea659c
better new icon
2022-05-26 18:16:32 +08:00
938cae1130
revert: remove CurseForge workaround for packs too
...
Partial revert. Handles missing download URLs.
2022-05-25 23:14:13 +02:00
7f73e57c67
Merge pull request #630 from jamierocks/h-atl-depends
2022-05-25 14:52:34 +02:00
e50ec31351
fix
2022-05-25 14:44:47 +08:00
a28fa219d7
fix indent width
2022-05-25 14:21:09 +08:00
8a1ba03bcb
show default metaserver
2022-05-25 11:46:15 +08:00
f8e7fb3d48
fix: better handle corner case
2022-05-24 20:27:25 -03:00
e8b7e70ec9
Merge pull request #637 from byquanton/patch-1
2022-05-24 20:53:19 +02:00
67c5aa0be9
Update org.polymc.PolyMC.metainfo.xml.in
...
Should fix Flatpak/Flathub build
2022-05-24 17:44:23 +02:00
e644380160
feat: add links to curseforge modpacks
2022-05-24 12:27:32 -03:00
c5eb6fe6fb
feat: add links for curseforge mods
...
NOT DOWNLOAD LINKS! (someone would ask it i'm sure :p)
2022-05-24 12:14:08 -03:00
ae2ef324f2
feat: add remaining links to modrinth mods
2022-05-24 11:58:11 -03:00
d0337da8ea
feat: add remaining links to modrinth modpacks
2022-05-24 11:52:27 -03:00
17b30b2ae2
clean up .clang-format
2022-05-24 22:37:00 +08:00
5e17d53c7f
fix: missing tr() and update donate message
2022-05-24 11:11:40 -03:00
22e0527502
feat: add donate info to modrinth modpacks
2022-05-24 09:46:58 -03:00
ca3c6c5e8a
feat: add donate links for modrinth mods
2022-05-24 09:38:48 -03:00
4bd30f5e72
chore: remove unused GH Workflows
2022-05-24 14:17:44 +02:00
3cc26b15a1
Merge pull request #631 from kthchew/fix/quazip-warn
2022-05-24 10:25:04 +02:00
9673dac22b
add more #ifdef
s
2022-05-24 16:18:02 +08:00
0426149580
standard macOS app behavior
2022-05-24 13:35:01 +08:00
fce5c57548
Silence CMake QuaZip not found warnings
...
These are expected most of the time, and thus just noise.
2022-05-23 17:27:35 -04:00
4ee5264e24
ATLauncher: Delete files from configs if they conflict with a mod
2022-05-23 21:44:01 +01:00
101ca60b2b
ATLauncher: Handle extra arguments depends
2022-05-23 20:57:15 +01:00
f28a0aa666
ATLauncher: Handle main class depends
2022-05-23 20:57:14 +01:00
997bf91442
Add desktop shortcut to Windows installer
2022-05-23 14:15:49 -04:00
5a1de15332
fix: use a more robust method of finding metadata indexes
...
Often times, mods can have their name in different forms, changing one
letter to caps or the other way (e.g. JourneyMaps -> Journeymaps).
This makes it possible to find those as well, which is not perfect by
any means, but should suffice for the majority of cases.
2022-05-23 14:58:15 -03:00
42f8ec5b14
fix: do modrinth changes on flame too
...
Also fix a dumb moment
2022-05-23 14:58:14 -03:00
2fc1b99911
chore: add license headers
...
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-23 14:58:14 -03:00
3a923060ce
fix: use correct hash_type when creating metadata
...
also fix: wrong parameter name in LocalModUpdateTask's constructor
also fix: correct hash_format in CF
2022-05-23 14:58:14 -03:00
0985adfd74
change: support newest changes with packwiz regarding CF
2022-05-23 14:58:08 -03:00
59d628208b
feat: allow trying to use multiple hash types
2022-05-23 14:43:31 -03:00
5c5699bba5
refactor: move individual pack version parsing to its own function
2022-05-23 14:43:31 -03:00
67e0214fa5
fix: don't try to delete mods multiple times
...
Shows a more helpful message if there's a parsing error when reading the
index file.
Also fixes a clazy warning with using the `.data()` method in a
temporary QByteArray object.
2022-05-23 14:43:10 -03:00
e17b6804a7
fix: implement PR suggestions
...
Some stylistic changes, and get hashes from the mod providers when
building the metadata.
2022-05-23 14:43:09 -03:00
96e36f0604
refactor: make mod metadata presence (or lack of) easier to find out
2022-05-23 14:43:09 -03:00
a99858c64d
refactor: move code out of ModIndex.h
...
Now it's in ModIndex.cpp
2022-05-23 14:43:07 -03:00
ba50765c30
tidy: apply clang-tidy to some files
...
Mostly the ones created in this PR + Mod.h / Mod.cpp / ModDetails.h
2022-05-23 14:42:28 -03:00
d7f6b36990
test+fix: add basic tests and fix issues with it
2022-05-23 14:42:28 -03:00
4439666e67
feat: allow disabling mod metadata usage
2022-05-23 14:42:28 -03:00
23febc6d94
feat: cache metadata in ModDetails
...
Allows for more easy access to the metadata by outside entities
2022-05-23 14:42:28 -03:00
fab4a7a602
refactor: abstract metadata handling and clarify names
2022-05-23 14:42:28 -03:00
092d2f8917
feat: add support for converting builtin -> packwiz mod formats
...
Also adds more documentation.
2022-05-23 14:42:28 -03:00
e9fb566c07
refactor: remove unused mod info and organize some stuff
2022-05-23 14:42:27 -03:00
5a34e8fd7c
refactor: move mod tasks to their own subfolder
...
Makes the launcher/minecraft/mod/ folder a little more organized.
2022-05-23 14:42:27 -03:00
fcfb2cfc3d
feat: use mod metadata for getting mod information
...
For now this doesn't mean much, but it will help when we need data
exclusive from the metadata, such as addon id and mod provider.
Also removes the metadata when the mod is deleted, and make the Mod.h
file a little more pleasing to look at :)
2022-05-23 14:42:27 -03:00
e93b9560b5
feat: add method to delete mod metadata
...
Also moves indexDir setting from LocalModUpdateTask -> ModFolderModel
2022-05-23 14:42:27 -03:00
8e4438b375
feat: add parser for current impl of packwiz mod.toml
...
This reads a local mod.toml file and extract information from it. Using
C libs in C++ is kind of a pain tho :(
2022-05-23 14:42:27 -03:00
eaa5ce4467
feat(ui): adapt SequentialTask to nested SequentialTasks
2022-05-23 14:42:27 -03:00
c86c719e1a
feat: add mod index updating to ModDownloadTask
...
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-05-23 14:42:27 -03:00