using System; using toast_mcl.Programs; namespace toast_mcl; public static class Base { // 版本号处理 public enum VersionTypes { Alpha, Beta, Release } public static VersionTypes VersionType = VersionTypes.Alpha; public static Version Version = new Version(0, 0, 1); // 获取程序目录 public static string AppDirectory = AppDomain.CurrentDomain.BaseDirectory; // 初始化 public static void Init() { ConfigUtils.Init(); } }