Make import look in more places for packs

Now supports Curse/Twitch instance names
and folders containing minecraftinstance.json or manifest.json
This commit is contained in:
comp500
2019-09-20 01:37:38 +01:00
parent d6076dba5e
commit 8956ec9bcb
5 changed files with 92 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
// +build !windows
package curseforge
import "errors"
// Stub version, so that getCurseDir exists
func getCurseDir() (string, error) {
return "", errors.New("not compiled for windows")
}