Closed voidZiAD closed 7 months ago
Is this something that needs to be fixed? Or is there an already existing solution that I'm not aware of?
Hello?? Am I going to get some help?
var path = new MinecraftPath();
var launcher = new CMLauncher(path);
// initialize fabric version loader
var fabricVersionLoader = new FabricVersionLoader();
var fabricVersions = await fabricVersionLoader.GetVersionMetadatasAsync();
// install
var fabric = fabricVersions.GetVersionMetadata("fabric-loader-0.15.6-1.20.4");
await fabric.SaveAsync(path);
// update version list
await launcher.GetAllVersionsAsync();
var process = await launcher.CreateProcessAsync("fabric-loader-0.15.6-1.20.4", new MLaunchOption());
process.Start();
I can install 'fabric-loader-0.15.6-1.20.4' using above code. check the version name argument when you call launcher.CreateProcessAsync
method. I think you passed wrong version name. (eg. launcher.CreateProcessAsync("none", launchOption)
)
Oh. The issue was just launcher.CreateProcessAsync
. I don't know why but it wasn't passing the right version. Thank you, I appreciate your help a lot.
Describe the bug The Fabric Installer is not working. I'm getting an exception when I try to Save the new fabric version.
Code:
Logs No game logs, as this is before the game starts.
Environment (please complete the following information):
Additional context I am trying to install Minecraft 1.20.4 Fabric.