29 lines
647 B
C#
29 lines
647 B
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.IO;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Ultron.Update
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// 应用程序的主入口点。
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(string[] args)
|
|
{
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
if (args.Length == 0)
|
|
{
|
|
Application.Run(new UpdateForm());
|
|
}
|
|
else
|
|
{
|
|
Application.Run(new UpdateForm(args));
|
|
}
|
|
}
|
|
}
|
|
}
|