mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-04-23 21:15:18 +00:00
Update UnionPatcher.Gui/Forms/ModeSelectionForm.cs
Co-authored-by: sudokoko <koko@sudokoko.xyz>
This commit is contained in:
parent
3e2ccda94d
commit
9b47df2a7c
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class ModeSelectionForm : Form {
|
|||
// If we're on macOS then set the CWD to the app bundle MacOS folder, so that SCETool can be found.
|
||||
if (OSUtil.GetPlatform() == OSPlatform.OSX) Directory.SetCurrentDirectory(OSUtil.GetExecutablePath());
|
||||
|
||||
if (!Directory.Exists(OSUtil.GetExecutablePath()+"/scetool"))
|
||||
if (!Directory.Exists($"{OSUtil.GetExecutablePath()}/scetool"))
|
||||
{
|
||||
// This will always occur on macOS, so don't show this message for macOS users.
|
||||
if (OSUtil.GetPlatform() != OSPlatform.OSX) Gui.CreateOkDialog("Workaround Triggered", ".NET could not locate the required files, triggering workaround.");
|
||||
|
|
Loading…
Add table
Reference in a new issue