Skip to content

Commit

Permalink
hopefully disable updates for sure
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilNarayana committed Mar 5, 2023
1 parent 7d51af5 commit 86b8677
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/zadig.c
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,6 @@ INT_PTR CALLBACK main_callback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lP

// Main init
init_dialog(hDlg);
CheckForUpdates(FALSE);

// Fall through
case UM_REFRESH_LIST:
Expand Down Expand Up @@ -1893,7 +1892,7 @@ INT_PTR CALLBACK main_callback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lP
DialogBoxW(main_instance, MAKEINTRESOURCEW(IDD_ABOUTBOX), hMainDialog, about_callback);
break;
case IDM_UPDATES:
DialogBoxW(main_instance, MAKEINTRESOURCEW(IDD_UPDATE_POLICY), hMainDialog, UpdateCallback);
// DialogBoxW(main_instance, MAKEINTRESOURCEW(IDD_UPDATE_POLICY), hMainDialog, UpdateCallback);
break;
case IDM_CERTMGR:
memset(&si, 0, sizeof(si));
Expand Down

0 comments on commit 86b8677

Please sign in to comment.