Disable single-instance mode on Unix so we can drop VB.NET dependency
This commit is contained in:
parent
45063aa6fa
commit
252e878b53
|
@ -208,7 +208,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
try
|
||||
{
|
||||
if (GlobalWin.Config.SingleInstanceMode)
|
||||
if (!OSTC.IsUnixHost && GlobalWin.Config.SingleInstanceMode)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Windows.Forms;
|
||||
using BizHawk.Client.Common;
|
||||
using BizHawk.Common;
|
||||
|
||||
namespace BizHawk.Client.EmuHawk
|
||||
{
|
||||
|
@ -71,6 +72,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
HandleAlternateKeyboardLayoutsCheckBox.Checked = _config.HandleAlternateKeyboardLayouts;
|
||||
NeverAskSaveCheckbox.Checked = _config.SuppressAskSave;
|
||||
SingleInstanceModeCheckbox.Checked = _config.SingleInstanceMode;
|
||||
SingleInstanceModeCheckbox.Enabled = !OSTailoredCode.IsUnixHost;
|
||||
|
||||
BackupSRamCheckbox.Checked = _config.BackupSaveram;
|
||||
AutosaveSRAMCheckbox.Checked = _config.AutosaveSaveRAM;
|
||||
|
|
Loading…
Reference in New Issue