Skip to content

Commit

Permalink
Err handling (fallback) for directly opening image viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
N00MKRAD committed Jan 3, 2021
1 parent e0d02a4 commit 87c242d
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1 deletion.
Binary file modified .vs/MagickUtils/v16/.suo
Binary file not shown.
6 changes: 5 additions & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ static void Main (string[] args)

if(args.Length > 0 && args[0] != null && File.Exists(args[0]))
{
PreviewImage(args[0], true);
try
{
PreviewImage(args[0], true);
}
catch { }
}
else
{
Expand Down
Binary file modified bin/Debug/MagickUtils.exe
Binary file not shown.
Binary file modified bin/Debug/MagickUtils.pdb
Binary file not shown.
Binary file modified obj/Debug/MagickUtils.exe
Binary file not shown.
Binary file modified obj/Debug/MagickUtils.pdb
Binary file not shown.

0 comments on commit 87c242d

Please sign in to comment.