Added app configuration

This commit is contained in:
dan_clark@outlook.com
2022-03-27 19:35:25 +01:00
parent 40d8caf1e0
commit 5ba1e5a63b
17 changed files with 358 additions and 87 deletions
@@ -0,0 +1,18 @@
using WindowsShortcutFactory;
namespace TheXamlGuy.TaskbarGroup.Core
{
public class CreateShortcutHandler : IMessageHandler<CreateShortcut>
{
public void Handle(CreateShortcut message)
{
using var shortcut = new WindowsShortcut
{
Path = message.Path,
};
shortcut.Save(@"C:\temp\MyShortcut.lnk");
}
}
}