Files
macro-pad/host-app/MacroPad.Host/UrlAction.cs
T

12 lines
277 B
C#

using System.Diagnostics;
public class UrlAction : IAction
{
private readonly string _target;
public UrlAction(string target) => _target = target;
public void Execute()
{
Process.Start(new ProcessStartInfo(_target) { UseShellExecute = true });
}
}