52 Commits

Author SHA1 Message Date
comp500
76460c5414 Remove pack-root, fix serve command (fixes #39)
index.toml is now the pack root - if you want to replicate
what the pack-root option would have provided, just move
your index.toml (and update the path in pack.toml)
2021-06-13 19:15:33 +01:00
comp500
8cbe7d4c61 Add pack-root option (fixes #27) 2021-06-04 02:10:29 +01:00
comp500
49d7b26b2e Add no-internal-hashes mode 2021-05-04 19:56:56 +01:00
comp500
7bedd820c2 Add option to specify additional game versions (closes #25) 2021-05-04 19:07:29 +01:00
comp500
b5757fa63a Fix loader game version prefix stripping in init command 2021-03-14 14:08:09 +00:00
TheEpicBlock
b5b9fd6810
Modrinth Support (#11)
Co-authored-by: comp500 <comp500@users.noreply.github.com>
2021-02-16 16:34:52 +00:00
AppleTheGolden
f2c6b89932
Lowercase hashes before comparing them (#10) 2021-01-13 19:00:04 +00:00
comp500
b8887e6704 Don't serialise empty author/version fields in pack.toml 2021-01-08 01:17:27 +00:00
comp500
877c7d1b02 Add Jumploader to Fabric packs for CurseForge automatically (fixes #5) 2020-11-28 18:10:00 +00:00
ThetaDev
a87f7b50f0
Added author + pack version (#6)
* Added author + pack version

* Remove unnecessary binary

* Apply suggestions, clean up somewhat

Co-authored-by: comp500 <comp500@users.noreply.github.com>
2020-11-28 17:10:29 +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
a6d28faf61 Fix hang when refreshing an index with no files 2019-12-22 23:42:04 +00: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
d6076dba5e Allow jars/txt files in mods folder 2019-09-19 20:55:14 +01:00
comp500
b48f89d67c Add serve command 2019-09-18 17:32:37 +01: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
e3bf7afe33
.packwizignore files 2019-06-16 21:42:12 +01:00
comp500
f0516b8600
Fix indexing progress bar, improve question 2019-06-16 20:59:45 +01:00
comp500
7880488bf1
Fix paths in index querying 2019-06-16 19:33:21 +01:00
comp500
5c82486016
Add request batching for cf updates 2019-06-16 18:35:40 +01:00
comp500
3a0f083da2
Implement updating of multiple mods at once 2019-06-16 16:51:14 +01:00
comp500
b6c71191d4
Implement update routines for CF 2019-06-16 15:05:47 +01:00
comp500
b77e2080c7
Redo update system to work with batched updates 2019-06-16 14:25:54 +01:00
comp500
adcde05693
Move locating mods to index 2019-06-15 00:40:56 +01:00
comp500
91693cd3eb
Command to open page in browser; refactoring 2019-06-14 22:35:34 +01:00
comp500
e7ed7d8d11
Update the pack hash when adding/importing mods 2019-06-14 18:12:14 +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
3fdac51d22
Mod metadata retrieval 2019-05-11 01:43:34 +01:00
comp500
e410101985
Progress bar for refreshing the index 2019-04-30 17:42:19 +01:00
comp500
857f692fc6
WIP curseforge integration 2019-04-30 17:03:22 +01:00
comp500
5f92843226
Mod loading, disgusting struct parsing 2019-04-27 16:54:27 +01:00
comp500
db7c837bfa
Switch to DecodeFile because it's cleaner 2019-04-27 14:22:59 +01:00
comp500
2e4ddb667f
Important to keep the index sorted because git diffs 2019-04-26 18:45:59 +01:00
comp500
0d7ff15db7
Make updateFile public 2019-04-26 18:43:26 +01:00
comp500
1a42abc0d6
Add some text, remove mod from index when done 2019-04-26 18:39:55 +01:00
comp500
e2c772ee30
Switch to forward slashes, add metafile bool 2019-04-26 18:23:52 +01:00
comp500
2f3b80f251
Why was I doing that, it looks bad. 2019-04-26 17:19:55 +01:00
comp500
d7e916e558
Index handling, hash calculation 2019-04-26 17:16:29 +01:00
comp500
64a73afdf7
File writing, index sorting 2019-04-25 19:22:02 +01:00