mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-10 05:34:13 +00:00
Maybe a fix for Linux with xml
This commit is contained in:
parent
d700822072
commit
0943a2cdb0
1 changed files with 10 additions and 1 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue