Skip to content

Commit

Permalink
Show BaseDirectory in MessageBox as well
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jan 3, 2024
1 parent 5c2c92a commit 934dc7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UEVR/Injector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static bool InjectDll(int processId, string dllPath, out IntPtr dllBase)
}

if (!System.IO.File.Exists(dllPath)) {
MessageBox.Show($"{originalPath} does not appear to exist! Check if any anti-virus software has deleted the file. Reinstall UEVR if necessary.");
MessageBox.Show($"{originalPath} does not appear to exist! Check if any anti-virus software has deleted the file. Reinstall UEVR if necessary.\n\nBaseDirectory: {AppContext.BaseDirectory}");
}

dllBase = IntPtr.Zero;
Expand Down

0 comments on commit 934dc7b

Please sign in to comment.