From d616a31e808d2f56c484582e351c1c37dac9fae5 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 07 五月 2019 16:19:06 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/ClientVersion/VersionUtility.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/System/ClientVersion/VersionUtility.cs b/System/ClientVersion/VersionUtility.cs
index 35495e1..6ddee8a 100644
--- a/System/ClientVersion/VersionUtility.cs
+++ b/System/ClientVersion/VersionUtility.cs
@@ -74,7 +74,7 @@
             versionInfo = JsonMapper.ToObject<VersionInfo>(_result);
             if (NeedNormalUpdate())
             {
-                if (Application.isMobilePlatform)
+                if (Application.isMobilePlatform || Application.platform == RuntimePlatform.WindowsPlayer)
                 {
                     RequestApkDownConfigs();
                 }
@@ -137,6 +137,10 @@
                     step = Step.DownLoadPrepared;
                     WindowCenter.Instance.OpenFromLocal<VersionUpdateWin>();
                     break;
+                case RuntimePlatform.WindowsPlayer:
+                    step = Step.DownLoadPrepared;
+                    WindowCenter.Instance.OpenFromLocal<VersionUpdateWin>();
+                    break;
                 default:
                     step = Step.Completed;
                     break;

--
Gitblit v1.8.0