1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-22 20:58:34 +01:00

ensure opening links in uis works correctly on .net core

This commit is contained in:
Ell 2020-11-25 18:41:53 +01:00
parent 3044a2bc81
commit 028e322d2f

View file

@ -102,7 +102,7 @@ namespace MLEM.Ui {
/// The actual link stored in the link code is stored in its <see cref="Code.Match"/>'s 1st group. /// The actual link stored in the link code is stored in its <see cref="Code.Match"/>'s 1st group.
/// By default, the browser is opened with the given link's address. /// By default, the browser is opened with the given link's address.
/// </summary> /// </summary>
public Action<LinkCode> LinkBehavior = l => Process.Start(l.Match.Groups[1].Value); public Action<LinkCode> LinkBehavior = l => Process.Start(new ProcessStartInfo(l.Match.Groups[1].Value) {UseShellExecute = true});
/// <summary> /// <summary>
/// The <see cref="UiControls"/> that this ui system is controlled by. /// The <see cref="UiControls"/> that this ui system is controlled by.
/// The ui controls are also the place to change bindings for controller and keyboard input. /// The ui controls are also the place to change bindings for controller and keyboard input.