mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
Make Tray compatible with .NET Core (#6983)
By default .NET Core sets UseShellExecute to false due to being cross platform
This commit is contained in:
parent
860168fe44
commit
67491cb4f6
1 changed files with 8 additions and 2 deletions
|
@ -114,7 +114,13 @@ namespace Jackett.Tray
|
|||
|
||||
private void toolStripMenuItemWebUI_Click(object sender, EventArgs e)
|
||||
{
|
||||
Process.Start("http://127.0.0.1:" + serverConfig.Port);
|
||||
ProcessStartInfo psi = new ProcessStartInfo
|
||||
{
|
||||
FileName = "http://127.0.0.1:" + serverConfig.Port,
|
||||
UseShellExecute = true
|
||||
};
|
||||
|
||||
Process.Start(psi);
|
||||
}
|
||||
|
||||
private void toolStripMenuItemShutdown_Click(object sender, EventArgs e)
|
||||
|
@ -320,4 +326,4 @@ namespace Jackett.Tray
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue