Add one instance support.

This commit is contained in:
qianlifeng
2014-01-12 18:15:30 +08:00
parent 4a37a6f497
commit 2249bbb0f5
7 changed files with 130 additions and 47 deletions

View File

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