Browse Source

其他-清除当前OCR版本管理内容

liyijie 1 year ago
parent
commit
5166f21ce8
1 changed files with 5 additions and 0 deletions
  1. 5 0
      PDF Office/App.xaml.cs

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

@@ -231,7 +231,12 @@ namespace PDF_Master
                 }
 
                 Settings.Default.Upgrade();
+                //清除OCR下载内容
+                Settings.Default.AppProperties.OCRFile_Url = "";
+                Settings.Default.AppProperties.OCRmodelMD5 = "";
+
                 Settings.Default.UpdateSettings = false;
+                
                 //重置用于弹窗的记录参数
             }
             if (Settings.Default.ADDate == null)