joeyak
dffdbc9b80
Add pin and unpin commands/updated update command to work with pin & unpin ( #234 )
...
* Add pin and unpin commands/updated update command to work with pin & unpin
* Inline cobra functions
2023-06-25 01:38:03 +01:00
comp500
aeae76a569
Linter fixes (error handling, unused constants, raw strings)
2023-03-10 17:06:48 +00:00
comp500
4f6528dcb5
Fix Modrinth exports of external files with omitted side field
2022-10-30 04:52:09 +00: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
72fbc68256
Omit mode when empty (equivalent to mode "url")
2022-06-07 03:23:41 +01:00
comp500
55f0e4a297
WIP: misc fixes, start updating CF/MR export to use download system
2022-05-20 18:13:43 +01:00
comp500
30bc6d81bb
WIP caching system for Modrinth/CurseForge pack export
2022-05-18 16:02:40 +01:00
comp500
3a6109c1f9
Merge branch 'master' into wip/new-curseforge-api
2022-05-17 01:07:04 +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
2073e4475e
Support Modrinth modpack fileSize field and sha512 hash
2022-05-16 01:15:12 +01:00
comp500
3fb350f244
Pass through optional-disabled on CF import ( fixes #93 )
2022-03-07 18:22:29 +00:00
comp500
60c08b93f3
Implement Modrinth pack exporting ( fixes #34 )
2021-12-28 22:03:22 +00:00
comp500
8cbe7d4c61
Add pack-root option ( fixes #27 )
2021-06-04 02:10: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
Draylar
c5328ee788
Update core/mod.go
...
Co-authored-by: comp500 <comp500@users.noreply.github.com>
2020-10-20 11:40:11 -05:00
Draylar
aaf6ae77ac
no -> not
2020-10-19 17:31:05 -05:00
Draylar
1a21eca3a2
Remove special casing for casing differences, clarify error message
2020-10-19 17:29:54 -05:00
Draylar
0656d794e1
Add newlines after prints
2020-10-19 17:24:49 -05:00
Draylar
463848eaa0
Print error when a file hash only matches when uppercase
2020-10-19 17:20:07 -05:00
Draylar
ca20d88093
Clarify hash mismatch error in mod.go and also check with uppercase hash
2020-10-19 16:57:52 -05:00
comp500
a553c3ce08
Fix unhandled error warnings, error messages (except import.go)
2019-11-15 22:28:14 +00:00
comp500
5dfe23e51d
Implement pack importing/exporting for downloaded Curseforge packs
...
Abstract out hash implementations
Implement file saving/downloading
2019-11-12 22:11:40 +00:00
comp500
dd24f356ea
Whoops
2019-09-17 21:53:14 +01:00
comp500
6c24be9f46
Create the containing directory if it fails
2019-09-17 21:52:23 +01:00
comp500
4fea7ceebf
Switch to cobra/viper
2019-09-16 21:44:40 +01:00
comp500
dc9fd4689f
Improve optional stuff, add preserve flag
2019-06-16 23:09:40 +01:00
comp500
3a0f083da2
Implement updating of multiple mods at once
2019-06-16 16:51:14 +01:00
comp500
b77e2080c7
Redo update system to work with batched updates
2019-06-16 14:25:54 +01:00
comp500
91693cd3eb
Command to open page in browser; refactoring
2019-06-14 22:35:34 +01:00
comp500
8eeb509565
Update index in import/add, improve index funcs
2019-06-14 18:07:58 +01:00
comp500
f23f99b5be
Fix struct tagging by just using string keys
2019-05-11 14:40:59 +01:00
comp500
ef98591d02
Actually write mod files
...
but aaa it doesn't use the struct tags properly so things are bad
2019-05-11 14:32:14 +01:00
comp500
5f92843226
Mod loading, disgusting struct parsing
2019-04-27 16:54:27 +01:00
comp500
d6b55b8032
Commit some stuff
2019-04-25 18:10:23 +01:00
comp500
a531e36713
Initial command system
2019-03-17 15:04:00 +00:00