namespace HaloPixelToolBox.Installer.Profiles; public class SystemProfile { public const string ApplicationName = "HaloPixelToolBox"; public const string ApplicationExecutableName = ApplicationName + ".exe"; public const string LegacyApplicationName = "HaloPixelToolBox.Client"; /// /// 当前窗口DPI缩放 /// public static double CurrentWindowDPIScale { get; set; } = 1.0; /// /// 主窗体宽度 /// public static double MainWindowWidth { get; set; } = 720; /// /// 主窗体高度 /// public static double MainWindowHeight { get; set; } = 450; /// /// 启动参数 /// public static string[] Args { get; set; } = []; /// /// 启动模式 /// public static string StartMode { get; set; } = string.Empty; /// /// 下载Url /// public static string DownloadUrl { get; set; } = string.Empty; /// /// 安装目录 /// public static string InstallPath { get; set; } = System.IO.Path.Combine( Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), ApplicationName); /// /// 第一次安装 /// public static bool FirstInstall { get; set; } = false; }