From 9b47df2a7c993cdb96cad20598b176293d36cb07 Mon Sep 17 00:00:00 2001 From: Zaprit Date: Thu, 18 Jan 2024 01:02:13 +0000 Subject: [PATCH] Update UnionPatcher.Gui/Forms/ModeSelectionForm.cs Co-authored-by: sudokoko --- UnionPatcher.Gui/Forms/ModeSelectionForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnionPatcher.Gui/Forms/ModeSelectionForm.cs b/UnionPatcher.Gui/Forms/ModeSelectionForm.cs index e8bf97c..ec8ed8a 100644 --- a/UnionPatcher.Gui/Forms/ModeSelectionForm.cs +++ b/UnionPatcher.Gui/Forms/ModeSelectionForm.cs @@ -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.");