Browse Source

付费锁 -调整IsLogin默认值,避免Realse包代码解锁问题

ZhouJieSheng 1 year ago
parent
commit
00ff6dadc5
1 changed files with 5 additions and 1 deletions
  1. 5 1
      PDF Office/App.xaml.cs

+ 5 - 1
PDF Office/App.xaml.cs

@@ -124,7 +124,7 @@ namespace PDF_Master
         /// <summary>
         /// 是否已经登陆
         /// </summary>
-        public static bool IsLogin = true;
+        public static bool IsLogin = false;
 
         //是否需要显示注册弹窗
         //app第一次启动时需要弹出注册弹窗
@@ -302,6 +302,10 @@ namespace PDF_Master
 
             InitSettings();
 
+#if DEBUG
+            IsLogin = true;
+#endif
+
             CachePath = CacheFilePath.Instance;
             //清除临时文件
             CacheFilePath.Instance.ClearDeleteFiles();