private void InitializeLauncher() { Launcher = new CMLauncher(Txt_Path.Text); //Launcher.Minecraft.SetAssetsPath(Minecraft.GetOSDefaultPath() + "/assets"); Launcher.FileChanged += Launcher_FileChanged; Launcher.ProgressChanged += Launcher_ProgressChanged; var versions = Launcher.UpdateProfileInfos(); Invoke(new Action(() => { Cb_Version.Items.Clear(); foreach (var item in versions) { Cb_Version.Items.Add(item.Name); } })); }