diff --git a/EasyUpdateFromGithub/UpdateFromGithub.cs b/EasyUpdateFromGithub/UpdateFromGithub.cs index 7b766b6..944c903 100644 --- a/EasyUpdateFromGithub/UpdateFromGithub.cs +++ b/EasyUpdateFromGithub/UpdateFromGithub.cs @@ -88,19 +88,23 @@ public class CheckUpdateValue /// /// 是否包含更新 /// - public bool haveUpdate; + public bool HaveUpdate => haveUpdate; + internal bool haveUpdate; /// /// 新版本的字符串 /// - public string newVersionStr; + public string NewVersionStr=>newVersionStr; + internal string newVersionStr; /// /// 发布时间 /// - public string publishedTime; + public string PublishedTime=>publishedTime; + internal string publishedTime; /// /// 该发布页所有文件的下载次数 /// - public int downloadCount=-1; + public int DownloadCount => downloadCount; + internal int downloadCount=-1; } /// /// 根据RepositoryURL检查当前程序是否有可用的更新和获取其它信息