Skip to content

Commit

Permalink
Make Kerbiter happier
Browse files Browse the repository at this point in the history
  • Loading branch information
Belonit committed Aug 23, 2023
1 parent fc35b66 commit 8199b82
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ClientGUI/XNALinkButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,11 @@ protected override void ParseControlINIAttribute(IniFile iniFile, string key, st
public override void OnLeftClick()
{
OSVersion osVersion = ClientConfiguration.Instance.GetOperatingSystemVersion();
string url = URL;

if (UnixURL.Length != 0 && osVersion == OSVersion.UNIX)
{
ProcessLauncher.StartShellProcess(UnixURL);
}
else if (URL.Length != 0)
{
ProcessLauncher.StartShellProcess(URL);
}

base.OnLeftClick();
}
Expand Down

0 comments on commit 8199b82

Please sign in to comment.