So I have made a custom Minecraft launcher and I need help with some coding...
First thing is I need help with when I press the "Play" button I need it to check the launcher_profiles.json and if it does not work I need it to make you log in. Next is if it does work I need it to check for Minecraft updates. After that I need it to launch Minecraft!
Other stuff:
The other thing I need is a profile manager(Like the one in Minecraft Launcher)
And the LAST thing I need is the CONSOLE(Also like the one in the Minecraft Launcher)
Thanks for helping me! :D
What I have tried:
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
System.Diagnostics.Process.Start("C:\Program Files (x86)\Minecraft\game\launcher.jar")
Me.Close()
End Sub
End Class
I have tried that but it just Launches Minecraft Launcher.
I also tried:
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
System.Diagnostics.Process.Start("C:\Users\(My username)\AppData\Roaming\.minecraft\launcher_profiles.json")
Me.Close()
End Sub
End Class
And that doesn't check it...