Files
LegacyConsoleLauncher/Form2.cs
GatoWare 0fdae7f8aa add automatic game installer and updater
- download and install LCEWindows64.zip automatically
- update Minecraft.Client.exe from nightly releases
- detect installed version using commit hash
- add progress window for downloads
- store version in releaseinfo.txt
2026-03-09 14:47:52 -03:00

28 lines
556 B
C#

using System;
using System.Windows.Forms;
namespace LegacyConsoleLauncher
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
public void SetStatus(string text)
{
label1.Text = text;
label1.Refresh();
}
public void SetProgress(int value)
{
if (value < 0) value = 0;
if (value > 100) value = 100;
progressBar1.Value = value;
progressBar1.Refresh();
}
}
}