Skip to content

Commit

Permalink
catch failure to lauch ser-hex-viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
atenfyr committed Jan 30, 2025
1 parent 7fcf945 commit 6b5bb89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion UAssetGUI/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,11 @@ private void LoadFileAtInternal(string filePath)
if (jsonTracingPath != null && (failedToMaintainBinaryEquality || failedCategoryCount > 0))
{
// if ser-hex-viewer available (https://github.com/trumank/ser-hex), run that
Process.Start(new ProcessStartInfo("ser-hex-viewer", "\"" + jsonTracingPath + "\"") { UseShellExecute = false });
try
{
Process.Start(new ProcessStartInfo("ser-hex-viewer", "\"" + jsonTracingPath + "\"") { UseShellExecute = false });
}
catch { }
}
#endif

Expand Down

0 comments on commit 6b5bb89

Please sign in to comment.