mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-08-02 22:28:50 +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 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 (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.
|
// 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.");
|
if (OSUtil.GetPlatform() != OSPlatform.OSX) Gui.CreateOkDialog("Workaround Triggered", ".NET could not locate the required files, triggering workaround.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue