Novetus_src/Novetus/Novetus.Bootstrapper/NovetusLaunch.cs

33 lines
705 B
C#

#region Usings
#if !BASICLAUNCHER
using NLog;
#endif
using Novetus.Core;
using System;
using System.IO;
using System.Windows.Forms;
#endregion
namespace Novetus.Bootstrapper
{
static class NovetusLaunch
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if (!Directory.Exists(GlobalPaths.LogDir))
{
Directory.CreateDirectory(GlobalPaths.LogDir);
}
Application.Run(new NovetusLaunchForm());
}
}
}