minecraft-launcher-core-node
minecraft-launcher-core-node copied to clipboard
@xmcl/core doesn't recognize Forge
-
Electron version: 20.0.1 (latest)
-
@xmcl/core version: 2.10.1 (latest)
My code:
Output:
MissingVersionJson: ENOENT: no such file or directory, open 'C:\Users\User\AppData\Roaming\.minecraft\versions\1.12.2\1.12.2.json'
Why does @xmcl/core remove everything and leave only "1.12.2"?
Interesting fact: with the latest version of Minecraft everything is exactly the same
Install Dependencies also does not work, version.parse also gives "1.12.2"
I need to highlight this in the docs...
The installForge
only install forge over a Minecraft version. You need to first await install(aVersion, minecraft);
to install the 1.12.2 Minecraft.