5 Commits

Author SHA1 Message Date
unilock
01945213d7 github: standardize language + fix api requests
language:
- funcs, vars, log messages, etc.

api requests:
- make all requests use the makeGet() function
- include packwiz user agent

Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:48:57 -04:00
unilock
6116393310 github: fixes and improvements
- "file" -> "asset"
- "version" -> "tag" or "release" (where appropriate)
- fix updater.go for upstream changes
- make printed log messages more similar to those of other modules
- move http request function(s) to separate file "request.go"
- remove the concept of a "Mod"; we're using "Repo"s (GitHub repositories) instead
- remove unnecessary fields in structs
- use sha256 instead of sha1 for asset checksums

Signed-off-by: unilock <unilock@fennet.rentals>
2024-04-15 14:48:57 -04:00
Tricked
837b4db760 fix: apply some suggestions 2024-04-15 14:48:57 -04:00
Tricked
5c07741447 feat: add branch support for github mods 2024-04-15 14:48:57 -04:00
Tricked
07033023af feat: begin github support 2024-04-15 14:48:55 -04:00