Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed Dec 18, 2022
1 parent 8213f8a commit 5144b1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using DnsClient;
using DnsClient.Protocol;
using DynamicData;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System.Application.Services;
using System.Application.Services.Implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,9 @@ List<SteamApp> GetAppInfos_()
uint num = binaryReader.ReadUInt32();
if (num is not MagicNumberV2 or MagicNumber)
{
Log.Error(nameof(GetAppInfos), string.Format("\"{0}\" magic code is not supported: 0x{1:X8}", Path.GetFileName(AppInfoPath), num));
var msg = string.Format("\"{0}\" magic code is not supported: 0x{1:X8}", Path.GetFileName(AppInfoPath), num);
Log.Error(nameof(GetAppInfos), msg);
Toast.Show(msg, ToastLength.Long);
return apps;
}
SteamApp? app = new();
Expand Down

0 comments on commit 5144b1d

Please sign in to comment.