mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-22 19:13:11 +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
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue