initial commit

This commit is contained in:
i2p
2026-08-27 11:22:16 -06:00
commit 96afff7a83
600 changed files with 29291 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
using Quasar.Server.Forms;
using System;
using System.IO;
using System.Net;
using System.Reflection;
using System.Windows.Forms;
namespace Quasar.Server
{
internal static class Program
{
[STAThread]
private static void Main()
{
// .NET Framework can't probe loose DLLs for resource deserialization;
// load System.Resources.Extensions from the exe directory manually.
AppDomain.CurrentDomain.AssemblyResolve += (sender, args) =>
{
var name = new AssemblyName(args.Name).Name + ".dll";
var path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, name);
return File.Exists(path) ? Assembly.LoadFrom(path) : null;
};
// enable TLS 1.2
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FrmMain());
}
}
}