Maybe a fix for Linux with xml

This commit is contained in:
ZestyTS 2022-08-21 02:49:33 -07:00
parent d700822072
commit 0943a2cdb0

View file

@ -1787,9 +1787,18 @@ namespace UWUVCI_AIO_WPF
}
try
{
try
{
doc.Load(appXml);
}
catch (Exception)
{
if (appXml.Contains("<22><><EFBFBD>լ<EFBFBD>}<7D>") || appXml.Contains("???լ?}?"))
appXml = appXml[..^7] + ">\r\n</app>";
doc.Load(appXml);
}
doc.SelectSingleNode("app/title_id").InnerText = $"00050002{ID}";
//doc.SelectSingleNode("app/title_id").InnerText = $"0005000247414645";