feat: implement Modrinth modpack importer (.mrpack)

This commit is contained in:
Mrixs committed 2026-01-04 14:47:24 +03:00
1 parent 275c1f2d50
commit 192ec80010
3 files changed
+187

No files matched your search

+2
View File
@@ -46,6 +46,8 @@ func (h *ModpackHandler) ImportModpack(w http.ResponseWriter, r *http.Request) {
return
}
imp = importer.NewCurseForgeImporter(storagePath, apiKey)
case "modrinth":
imp = importer.NewModrinthImporter(storagePath)
default:
http.Error(w, "Invalid importer type", http.StatusBadRequest)
return