diff --git a/WinAlfred.Plugin.System/Sys.cs b/WinAlfred.Plugin.System/Sys.cs index 9919ca6c39..a2badb7ceb 100644 --- a/WinAlfred.Plugin.System/Sys.cs +++ b/WinAlfred.Plugin.System/Sys.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; @@ -44,7 +45,7 @@ namespace WinAlfred.Plugin.System SubTitle = "Shutdown Computer", Score = 100, IcoPath = "Images\\exit.png", - Action = () => ExitWindowsEx(EWX_SHUTDOWN,0) + Action = () => Process.Start("shutdown","/s /t 0") }); availableResults.Add(new Result { diff --git a/WinAlfred/App.xaml b/WinAlfred/App.xaml index 9acfef20e1..1a43596b7a 100644 --- a/WinAlfred/App.xaml +++ b/WinAlfred/App.xaml @@ -1,7 +1,7 @@  + >