| 123456789101112131415161718192021222324252627282930 |
- using Oreo.VersionUpdate.Commons;
- using Oreo.VersionUpdate.Views;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace Oreo.VersionUpdate
- {
- static class Program
- {
- /// <summary>
- /// 应用程序的主入口点。
- /// </summary>
- [STAThread]
- static void Main(string[] args)
- {
- if (args != null && args.Length == 2)
- {
- R.Paths.ProjectRoot = args[0];
- R.Files.Plugins = args[1];
- P.Init();
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new MainForm());
- }
- }
- }
- }
|