using XFEExtension.NetCore.AutoConfig; using XFEToolBox.Core.Model; namespace XFEToolBox.Client.Profiles.CacheProfiles; public partial class AppCacheProfile : XFEProfile { [ProfileProperty] private string noticeText = ""; /// /// 工具箱完整目录的 JSON 快照。页面会先读取该快照,再在后台刷新服务器数据。 /// [ProfileProperty] private string toolCatalogJson = ""; /// /// 下载专区完整目录(包含分类)的 JSON 快照。 /// [ProfileProperty] private string softwareCatalogJson = ""; /// /// 各工具的宿主启动配置,例如是否在首次启动时请求管理员权限。 /// [ProfileProperty] private string toolLaunchPreferencesJson = ""; public AppCacheProfile() => ProfilePath = @$"{AppPath.CacheProfile}\{typeof(AppCacheProfile)}.xprofile"; }