2021-11-19 22:30:23 +02:00
|
|
|
|
#region Usings
|
2023-11-08 00:56:53 +02:00
|
|
|
|
#if !BASICLAUNCHER
|
2021-11-19 22:30:23 +02:00
|
|
|
|
using NLog;
|
2023-11-08 00:56:53 +02:00
|
|
|
|
#endif
|
2023-04-22 01:06:49 +03:00
|
|
|
|
using Novetus.Core;
|
2021-11-13 22:56:56 +02:00
|
|
|
|
using System;
|
2022-06-02 21:54:02 +03:00
|
|
|
|
using System.IO;
|
2021-06-04 22:58:40 +03:00
|
|
|
|
using System.Windows.Forms;
|
2021-11-19 22:30:23 +02:00
|
|
|
|
#endregion
|
2021-06-04 22:58:40 +03:00
|
|
|
|
|
2021-09-02 02:35:20 +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
|
|
|
|
|
2023-04-22 01:06:49 +03:00
|
|
|
|
if (!Directory.Exists(GlobalPaths.LogDir))
|
2022-06-02 21:54:02 +03:00
|
|
|
|
{
|
2023-04-22 01:06:49 +03:00
|
|
|
|
Directory.CreateDirectory(GlobalPaths.LogDir);
|
2022-06-02 21:54:02 +03:00
|
|
|
|
}
|
|
|
|
|
|
2021-06-04 22:58:40 +03:00
|
|
|
|
Application.Run(new NovetusLaunchForm());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|