naps2/NAPS2.App.WinForms/Program.cs
2021-12-17 12:18:20 -08:00

16 lines
368 B
C#

using NAPS2.EntryPoints;
namespace NAPS2;
static class Program
{
/// <summary>
/// The NAPS2.exe main method.
/// </summary>
[STAThread]
static void Main(string[] args)
{
// Use reflection to avoid antivirus false positives (yes, really)
typeof(WinFormsEntryPoint).GetMethod("Run").Invoke(null, new object[] { args });
}
}