mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-08-07 16:48:50 +00:00
Remove variable since its only used once
This commit is contained in:
parent
b4f6c21c88
commit
79ab93541a
1 changed files with 1 additions and 2 deletions
|
@ -29,11 +29,10 @@ public class ModeSelectionForm : Form {
|
||||||
|
|
||||||
private void openRemotePatcher(object sender, EventArgs e)
|
private void openRemotePatcher(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
OSPlatform platform = OSUtil.GetPlatform();
|
|
||||||
if (!Directory.Exists("scetool"))
|
if (!Directory.Exists("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 (platform != 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.");
|
||||||
|
|
||||||
Gui.CreateOkDialog("Workaround", "UnionPatcher RemotePatcher requires a staging folder on macOS or in special circumstances on Windows, please set this to the directory of the UnionPatcher app or executable!");
|
Gui.CreateOkDialog("Workaround", "UnionPatcher RemotePatcher requires a staging folder on macOS or in special circumstances on Windows, please set this to the directory of the UnionPatcher app or executable!");
|
||||||
SelectFolderDialog dialog = new SelectFolderDialog();
|
SelectFolderDialog dialog = new SelectFolderDialog();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue