mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 00:45:28 +00:00
Exit rewrite process if passed not existed file
This commit is contained in:
parent
6ad8b92c84
commit
1e2af5e648
|
@ -42,6 +42,7 @@ namespace OpenTK.Rewrite
|
||||||
{
|
{
|
||||||
Console.Error.WriteLine($"Target assembly not found. \n" +
|
Console.Error.WriteLine($"Target assembly not found. \n" +
|
||||||
$"Please check the given path ({Options.TargetAssembly}).");
|
$"Please check the given path ({Options.TargetAssembly}).");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!File.Exists(Path.ChangeExtension(Options.TargetAssembly, "pdb")))
|
if (!File.Exists(Path.ChangeExtension(Options.TargetAssembly, "pdb")))
|
||||||
|
|
Loading…
Reference in a new issue