mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-21 04:37:47 +03:00
16 lines
400 B
C#
16 lines
400 B
C#
using NAPS2.EntryPoints;
|
|
|
|
namespace NAPS2.Console;
|
|
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// The NAPS2.Console.exe main method.
|
|
/// </summary>
|
|
[STAThread]
|
|
static int Main(string[] args)
|
|
{
|
|
// Use reflection to avoid antivirus false positives (yes, really)
|
|
return (int) typeof(ConsoleEntryPoint).GetMethod("Run")!.Invoke(null, new object[] { args })!;
|
|
}
|
|
} |