Add Jumploader to Fabric packs for CurseForge automatically (fixes #5)

This commit is contained in:
comp500
2020-11-28 18:10:00 +00:00
parent a87f7b50f0
commit 877c7d1b02
5 changed files with 247 additions and 118 deletions

View File

@@ -348,7 +348,10 @@ func (u cfUpdater) DoUpdate(mods []*core.Mod, cachedState []interface{}) error {
}
type cfExportData struct {
ProjectID int `mapstructure:"project-id"`
ProjectID int `mapstructure:"project-id"`
DisableJumploader bool `mapstructure:"disable-jumploader"`
JumploaderForgeVersion string `mapstructure:"jumploader-forge-version"`
JumploaderFileID int `mapstructure:"jumploader-version-id"`
}
func (e cfExportData) ToMap() (map[string]interface{}, error) {