This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
UpTool2/Installer/Program.cs

29 lines
712 B
C#
Raw Normal View History

2020-03-16 15:53:14 +01:00
using System;
using System.Windows.Forms;
2020-04-08 17:08:51 +02:00
using UpToolLib;
2020-03-16 15:53:14 +01:00
namespace Installer
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
2020-04-09 13:58:06 +02:00
private static void Main()
2020-03-16 15:53:14 +01:00
{
2020-03-24 22:43:48 +01:00
try
{
2020-04-09 13:58:06 +02:00
MutexLock.Lock();
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new InstallerForm());
2020-03-24 22:43:48 +01:00
}
finally
{
MutexLock.Unlock();
}
2020-03-16 15:53:14 +01:00
}
}
}