mirror of
https://github.com/packwiz/packwiz.git
synced 2025-10-28 01:34:33 +01:00
Commit WIP import command
This commit is contained in:
27
curseforge/import.go
Normal file
27
curseforge/import.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package curseforge
|
||||
import "github.com/comp500/packwiz/core"
|
||||
|
||||
type twitchPackMeta struct {
|
||||
Name string `json:"name"`
|
||||
Path string `json:"installPath"`
|
||||
// TODO: javaArgsOverride?
|
||||
// TODO: allocatedMemory?
|
||||
MCVersion string `json:"gameVersion"`
|
||||
Modloader struct {
|
||||
Name string `json:"name"`
|
||||
} `json:"baseModLoader"`
|
||||
// TODO: modpackOverrides?
|
||||
Mods []struct {
|
||||
ID int `json:"addonID"`
|
||||
File struct {
|
||||
// TODO: this is exactly the same as fileInfo, but with capitalised
|
||||
// FileNameOnDisk. Move requesting stuff out of createModFile?
|
||||
} `json:"installedFile"`
|
||||
} `json:"installedAddons"`
|
||||
}
|
||||
|
||||
func cmdImport(flags core.Flags, file string) error {
|
||||
// TODO: implement
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user