You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1016 B
C#

namespace Estsh.Client.Update
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
args = new string[3];
args[0] = "DataCenter";
args[1] = "LightningManage.exe";
args[2] = "";
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
//ApplicationConfiguration.Initialize();
//Application.Run(new Form1());
if (args.Length < 3)
{
MessageBox.Show("Usage: Updater.exe DirectoryName StartupFileName Args");
return;
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Updater(args[0], args[1], args[2]));
}
}
}