|
@@ -178,6 +178,12 @@ namespace PDF_Master.Helper
|
|
|
//获取OCRMD5
|
|
|
XmlAttribute ocrUrlAttributemd5 = itemNode.Attributes["ocrmd5"];
|
|
|
Settings.Default.AppProperties.OCRmodelMD5 = ocrUrlAttributemd5?.Value;
|
|
|
+ //删除Xml文件
|
|
|
+ string folderzipPath = System.IO.Path.Combine(App.CurrentPath, "AppXml");
|
|
|
+ if (Directory.Exists(folderzipPath))
|
|
|
+ {
|
|
|
+ Directory.Delete(folderzipPath, true);
|
|
|
+ }
|
|
|
return true;
|
|
|
}
|
|
|
}
|