dizzyd / mcdex

Minecraft Modpack Management
Apache License 2.0
74 stars 8 forks source link

Install from manifest.json #44

Closed osmarks closed 5 years ago

osmarks commented 5 years ago

I'd like to distribute a pack without going through curseforge, via publishing the manifest.json on Github. Currently, this requires creating a new pack, replacing the default manifest.json with mine, and then installing that. It would be convenient to be able to just run a single command, perhaps mcdex pack.install.from_manifest to create and install a pack from a manifest.

dizzyd commented 5 years ago

I'm a little confused, but maybe I'm missing part of the workflow. To create a new modpack, I usually do something like:

mkdir mypack; cd mypack mcdex pack.create . 1.12.2 # Creates an empty manifest with stable forge mcdex mod.select .... # Get all my mods

Does this not work for some reason?

osmarks commented 5 years ago

Nope. I get

Creating profile: .
2019/03/03 20:26:45 failed to create profile: invalid profile name: .
dizzyd commented 5 years ago

@osmarks try using the latest build (0.9.6+). There were some bugs in the relative directory handling in prior versions. Please feel free to re-open if it's still a problem. :)