From 7c801bb0af8a5515057de0548e218104c400adfe Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 19 十月 2020 16:26:55 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.173on.com:10010/r/snxxz_scripts
---
System/ClientVersion/VersionUtility.cs | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/System/ClientVersion/VersionUtility.cs b/System/ClientVersion/VersionUtility.cs
index b131483..fdf64f7 100644
--- a/System/ClientVersion/VersionUtility.cs
+++ b/System/ClientVersion/VersionUtility.cs
@@ -22,7 +22,8 @@
public string androidRoot { get { return StringUtility.Contact(SDKUtility.Instance.DeviceRootPath, "/", VersionConfig.Get().bundleIdentifier); } }
- public float progress {
+ public float progress
+ {
get { return RemoteFile.TotalDownloadedSize / ((float)GetApkSize() * 1024); }
}
@@ -33,9 +34,11 @@
public bool completed { get { return step == Step.Completed; } }
Step m_Step = Step.None;
- public Step step {
+ public Step step
+ {
get { return m_Step; }
- private set {
+ private set
+ {
if (m_Step != value)
{
m_Step = value;
@@ -350,6 +353,10 @@
}
}
+ /// <summary>
+ /// 鏄惁涓篿os瀹℃牳鏃堕棿鍐�
+ /// </summary>
+ /// <returns></returns>
public bool InIosAuditTime()
{
DateTime dateTime;
--
Gitblit v1.8.0