From 7fa4b66cd58a51c9e7e512ee652282825d16e5dc Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 27 十月 2020 15:13:21 +0800 Subject: [PATCH] 2020-10-27 1.增加iOS越狱和Androidr Root检测,强制关闭APP --- Crabtree/SmartHome/HDL/Operation/UserConfig.cs | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/UserConfig.cs b/Crabtree/SmartHome/HDL/Operation/UserConfig.cs index a052da0..6074190 100644 --- a/Crabtree/SmartHome/HDL/Operation/UserConfig.cs +++ b/Crabtree/SmartHome/HDL/Operation/UserConfig.cs @@ -7,7 +7,7 @@ [System.Serializable] public class UserConfig { - static string configFile = "UserConfig"; + public static string configFile = "UserConfig"; static UserConfig instance; public static UserConfig Instance { @@ -28,7 +28,7 @@ instance.HideDeviceTypes.Add (SimpleControl.R.MyInternationalizationString.Sensor); instance.HideDeviceTypes.Add (SimpleControl.R.MyInternationalizationString.Environmental); instance.HideDeviceTypes.Add (SimpleControl.R.MyInternationalizationString.MusicModel); - instance.HideDeviceTypes.Add (SimpleControl.R.MyInternationalizationString.UniversalDevice); + //instance.HideDeviceTypes.Add (SimpleControl.R.MyInternationalizationString.UniversalDevice); } else { instance = temp; } @@ -266,6 +266,12 @@ /// </summary> public string LocalEncryptKey = string.Empty; + + /// <summary> + /// 鏄惁鍔犲瘑瀵嗙爜楠岃瘉閫氳繃 + /// </summary> + public bool EncryptedPasswordCorrect = true; + /// <summary> /// 鏄惁鍔犲瘑 /// </summary> -- Gitblit v1.8.0