浏览代码

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

ZhouJieSheng 1 年之前
父节点
当前提交
00ff6dadc5
共有 1 个文件被更改,包括 5 次插入1 次删除
  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();