Novetus_src/Novetus/Novetus.Bootstrapper/NovetusLaunch.cs

33 lines
705 B
C#
Raw Normal View History

#region Usings
#if !BASICLAUNCHER
using NLog;
#endif
using Novetus.Core;
2021-11-13 22:56:56 +02:00
using System;
using System.IO;
2021-06-04 22:58:40 +03:00
using System.Windows.Forms;
#endregion
2021-06-04 22:58:40 +03:00
namespace Novetus.Bootstrapper
2021-06-04 22:58:40 +03:00
{
static class NovetusLaunch
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
2021-11-13 22:56:56 +02:00
if (!Directory.Exists(GlobalPaths.LogDir))
{
Directory.CreateDirectory(GlobalPaths.LogDir);
}
2021-06-04 22:58:40 +03:00
Application.Run(new NovetusLaunchForm());
}
}
}