Added app configuration
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user