27 Commits

Author SHA1 Message Date
comp500
ef049968b1
Fix incorrect usage of slices.Compact (fixes #257) 2023-09-23 21:52:23 +01:00
comp500
4c23e264b0 Clean up code, filter version numbers for NeoForge as well as Forge
NeoForge doesn't seem to have an update checker JSON yet, so we can't determine
the recommended version
2023-07-30 15:09:18 +01:00
comp500
99d0af14c4 Fix duplicates in Modrinth dependency lookups 2023-07-02 14:38:10 +01:00
comp500
e966eaffc0 Manually replace FLK deps with QKL when using Quilt >=1.19.2 (fixes #212) 2023-04-13 17:12:44 +01:00
comp500
bd71ad5679 Manually replace FAPI deps with QFAPI/QSL when using Quilt (fixes #212) 2023-04-13 16:45:10 +01:00
Matt Artist
a344ba11ba
Add a command for changing the acceptable versions (#206)
* feat: add packwiz settings command to allow for changing acceptable versions

* Add deduping on the list

* Fix typo in comment

* Detect out of order list and give the user an option to correct it

* Support adding and removing specific versions

* Ensure the options aren't nil

* Clean up the slice removal boilerplate

* Fix usage of slices.Delete
2023-04-08 19:00:40 +01:00
comp500
8d50b97356 Fix Modrinth searches taking the first argument as a slug 2023-03-16 13:42:20 +00:00
comp500
433218e3cf Make most Modrinth dep errors non-fatal, improve err message (fixes #201) 2023-03-15 02:41:46 +00:00
comp500
d38d279d98 Prefer game versions according to acceptable versions list (fixes #181)
The acceptable versions list should now be specified in order of preference, where the last version is the most preferable Minecraft version
2023-02-14 16:10:06 +00:00
comp500
d667447a88 Compare Modrinth versions by release date, warn if inconsistent with version numbers 2023-02-14 12:16:24 +00:00
comp500
d57140c33a Modrinth: version number resolution (fixes #103) 2023-01-20 05:39:36 +00:00
comp500
f3963ec169 Modrinth: detect default meta-folder, prefer mods to datapacks
Requires specifying datapack-path option to install datapacks (as the location varies between datapack loader mods)
2023-01-20 04:51:04 +00:00
comp500
8937960d52 Modrinth: Parse non-mod and CDN URLs, bring more in line with CF impl 2023-01-17 04:51:47 +00:00
comp500
f00dc9844f Allow any path under a Modrinth mod page 2022-10-11 01:19:04 +01:00
Tricked
c7c2ca786b
feat: add command for arbitrary URLs (#137)
* feat: install command for direct downloads

* use sha1 instead of sha256

* apply suggestions

* feat: parse urls instead of using hasprefix

* stop by default and add force flag

* Implement various fixes and improvements

Co-authored-by: Tricked <72335827+SkyBlockDev@users.noreply.github.com>
Co-authored-by: comp500 <comp500@users.noreply.github.com>
2022-08-27 00:08:25 +01:00
comp500
11671421ac -y/--yes flag for non-interactive mode (fixes #46)
Also makes Modrinth auto-accept search results with only 1 result, to be
consistent with CurseForge.
2022-08-25 04:47:18 +01:00
comp500
503232a3fa Implement dependency support for Modrinth (fixes #56) 2022-08-25 03:48:34 +01:00
comp500
044c34e07c Move to go-modrinth lib (v2 API) and always supply UA in HTTP requests 2022-08-02 02:53:31 +01:00
comp500
b8be3784f6 Improve Modrinth command errors 2022-06-08 23:36:15 +01:00
comp500
0f3096e251 Use the correct directories for non-mod files; use .pw.toml extension
The mods-folder option is now replaced with two new options: meta-folder and meta-folder-base
This allows non-mod files to use the correct directory based on their category; with correct
import of resource packs/etc from CurseForge packs, and the ability to override this behaviour.
To improve the reliability of packwiz metadata file marking (in the index), new files now use .pw.toml
as the extension - any extension can be used, but .pw.toml will now be automatically be
marked as a metafile regardless of folder, so you can easily move metadata files around.
Existing metadata files will still work (as metafile = true is set in the index); though in
the future .pw.toml may be required.
2022-05-16 21:06:10 +01:00
comp500
4abf3340a1 Move to packwiz org 2021-12-28 16:28:34 +00:00
comp500
5ef3358285 Fix error reporting when installing Modrinth mods from URL 2021-12-02 19:53:54 +00:00
comp500
fd94e671cd Fix typo 2021-06-13 19:15:57 +01:00
comp500
8cbe7d4c61 Add pack-root option (fixes #27) 2021-06-04 02:10:29 +01:00
comp500
d6bed7ad4c Reorder Cancel option in menus to be more consistent (fixes #32) 2021-06-03 22:54:56 +01:00
comp500
7bedd820c2 Add option to specify additional game versions (closes #25) 2021-05-04 19:07:29 +01:00
TheEpicBlock
b5b9fd6810
Modrinth Support (#11)
Co-authored-by: comp500 <comp500@users.noreply.github.com>
2021-02-16 16:34:52 +00:00