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

@ -1789,7 +1789,16 @@ namespace UWUVCI_AIO_WPF
try
{
doc.Load(appXml);
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";