#63 fix click on forum url to display webpage as dotnet core 8 does not work the same as prior
This commit is contained in:
@@ -244,9 +244,18 @@ namespace EveOPreview.Presenters
|
||||
|
||||
private void OpenDocumentationLink()
|
||||
{
|
||||
// funtimes
|
||||
// https://brockallen.com/2016/09/24/process-start-for-urls-on-net-core/
|
||||
// https://github.com/dotnet/runtime/issues/17938
|
||||
|
||||
// TODO Move out to a separate service / presenter / message handler
|
||||
#if LINUX
|
||||
Process.Start("xdg-open", new Uri(MainFormPresenter.FORUM_URL).AbsoluteUri);
|
||||
#else
|
||||
ProcessStartInfo processStartInfo = new ProcessStartInfo(new Uri(MainFormPresenter.FORUM_URL).AbsoluteUri);
|
||||
processStartInfo.UseShellExecute = true;
|
||||
Process.Start(processStartInfo);
|
||||
#endif
|
||||
}
|
||||
|
||||
private string GetApplicationVersion()
|
||||
|
Reference in New Issue
Block a user