Skip to content

Commit

Permalink
Add -reloadsettings command line switch
Browse files Browse the repository at this point in the history
It will force Open-Shell to reload settings from registry.

Fixes #1157.
  • Loading branch information
ge0rdi committed Oct 8, 2022
1 parent 179a59a commit e6b33a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Src/StartMenu/StartMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpstrC
else if (wcsstr(lpstrCmdLine,L"-toggle")!=NULL) open=MSG_TOGGLE;
else if (wcsstr(lpstrCmdLine,L"-open")!=NULL) open=MSG_OPEN;
else if (wcsstr(lpstrCmdLine,L"-settings")!=NULL) open=MSG_SETTINGS;
else if (wcsstr(lpstrCmdLine,L"-reloadsettings")!=NULL) open=MSG_RELOADSETTINGS;
else if (wcsstr(lpstrCmdLine,L"-exit")!=NULL) open=MSG_EXIT;

{
Expand Down

0 comments on commit e6b33a7

Please sign in to comment.