Added a Check for Update command
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1378 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
33590cb263
commit
31f8651abf
6 changed files with 17 additions and 2 deletions
|
@ -209,6 +209,14 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
|||
}
|
||||
return TRUE;
|
||||
}
|
||||
case IDM_UPDATE:
|
||||
{
|
||||
char b[100];
|
||||
lstrcpy(b,NSIS_UPDATE);
|
||||
lstrcat(b,g_sdata.brandingv);
|
||||
ShellExecute(g_sdata.hwnd,"open",b,NULL,NULL,SW_SHOWNORMAL);
|
||||
break;
|
||||
}
|
||||
case IDM_ABOUT:
|
||||
{
|
||||
DialogBox(g_sdata.hInstance,MAKEINTRESOURCE(DLG_ABOUT),g_sdata.hwnd,(DLGPROC)AboutProc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue