Test requiring staging directory on Windows

This commit is contained in:
Dagg 2023-03-10 10:31:14 -08:00
commit 480abb2b58
No known key found for this signature in database
GPG key ID: 35F1082DE618E967

View file

@ -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();