2020-04-14 01:31:21 +03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace NovetusURI
|
|
|
|
|
{
|
|
|
|
|
internal sealed class Program
|
|
|
|
|
{
|
|
|
|
|
static string ProcessInput(string s)
|
|
|
|
|
{
|
|
|
|
|
return s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Program entry point.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[STAThread]
|
|
|
|
|
private static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
Application.EnableVisualStyles();
|
|
|
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
2020-07-07 21:19:40 +03:00
|
|
|
|
LauncherFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalVars.ConfigName, false);
|
2020-04-14 01:31:21 +03:00
|
|
|
|
if (args.Length == 0)
|
|
|
|
|
{
|
2020-07-07 21:31:56 +03:00
|
|
|
|
Application.Run(new InstallForm());
|
2020-04-14 01:31:21 +03:00
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
foreach (string s in args)
|
|
|
|
|
{
|
|
|
|
|
GlobalVars.SharedArgs = ProcessInput(s);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Application.Run(new LoaderForm());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|