From 480abb2b58c7bd48ab8ba59c631810344229c762 Mon Sep 17 00:00:00 2001 From: Dagg Date: Fri, 10 Mar 2023 10:31:14 -0800 Subject: [PATCH] Test requiring staging directory on Windows --- UnionPatcher.Gui/Forms/ModeSelectionForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UnionPatcher.Gui/Forms/ModeSelectionForm.cs b/UnionPatcher.Gui/Forms/ModeSelectionForm.cs index d23fdbd..f9551bc 100644 --- a/UnionPatcher.Gui/Forms/ModeSelectionForm.cs +++ b/UnionPatcher.Gui/Forms/ModeSelectionForm.cs @@ -29,7 +29,8 @@ public class ModeSelectionForm : Form { private void openRemotePatcher(object sender, EventArgs e) { - if (OSUtil.GetPlatform() == OSPlatform.OSX) + OSPlatform platform = OSUtil.GetPlatform(); + if (platform == OSPlatform.OSX || platform == OSPlatform.Windows) { Gui.CreateOkDialog("Workaround", "UnionPatcher RemotePatcher requires a staging folder on macOS, please set this to the directory of the UnionPatcher app!"); SelectFolderDialog dialog = new SelectFolderDialog();