-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update XNALinkButton to support alternative URL on *nix #482
Conversation
9b370d3
to
ebe3d64
Compare
Nightly build for this pull request:
|
ebe3d64
to
898c752
Compare
898c752
to
fc35b66
Compare
ClientGUI/XNALinkButton.cs
Outdated
if (UnixURL.Length != 0 && osVersion == OSVersion.UNIX) | ||
{ | ||
ProcessLauncher.StartShellProcess(UnixURL); | ||
} | ||
else if (URL.Length != 0) | ||
{ | ||
ProcessLauncher.StartShellProcess(URL); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (UnixURL.Length != 0 && osVersion == OSVersion.UNIX) | |
{ | |
ProcessLauncher.StartShellProcess(UnixURL); | |
} | |
else if (URL.Length != 0) | |
{ | |
ProcessLauncher.StartShellProcess(URL); | |
} | |
if (UnixURL.Length != 0 && osVersion == OSVersion.UNIX) | |
ProcessLauncher.StartShellProcess(UnixURL); | |
else if (URL.Length != 0) | |
ProcessLauncher.StartShellProcess(URL); |
ClientGUI/XNALinkButton.cs
Outdated
base.ParseControlINIAttribute(iniFile, key, value); | ||
} | ||
|
||
public override void OnLeftClick() | ||
{ | ||
ProcessLauncher.StartShellProcess(URL); | ||
OSVersion osVersion = ClientConfiguration.Instance.GetOperatingSystemVersion(); | ||
string url = URL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string url = URL; |
Unused?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Update XNALinkButton to support alternative URL on *nix * Make Kerbiter happier
No description provided.