add v2ex workflow

This commit is contained in:
qianlifeng
2014-01-12 21:02:39 +08:00
parent 2249bbb0f5
commit 820d0cde86
9 changed files with 128 additions and 74 deletions

View File

@@ -111,7 +111,11 @@ namespace WinAlfred.WorkflowInstaller
string winalfred = AppDomain.CurrentDomain.BaseDirectory + "WinAlfred.exe";
if (File.Exists(winalfred))
{
Process.Start(winalfred, "reloadWorkflows");
ProcessStartInfo info = new ProcessStartInfo(winalfred, "reloadWorkflows")
{
UseShellExecute = true
};
Process.Start(info);
MessageBox.Show("You have installed workflow " + plugin.Name + " successfully.");
}
else