static void Initialize() { AttachConsole(-1); CommonBase.AssemblyLoader = new AssemblyLoader(Assembly.GetEntryAssembly()); // TODO ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; StartupSequence.PreInit(AppName); UpdaterApp.Launch(); if (Common.OnExit != null) { Common.OnExit(); } }