mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-15 21:29:04 +10:00
* Fix stdafx include * Fix basic handling of "Games" folder on Windows10 RS4 (#10) This does the following: - Sets the default state to hidden - Skips the Games folder when searching This does not: - Hide the dead menu entry. I do not currently know how to actively change the user preference setting to forcefully hide it. * Add basic Visual Studio gitignore * Add specific entries to gitignore * Do not set default menu to Win7 on RS4 (#10)
This commit is contained in:
@@ -4941,7 +4941,7 @@ void UpdateSettings( void )
|
||||
Assert(wcswcs(defaultMenu,gameSettings0));
|
||||
Assert(wcswcs(defaultMenu,gameSettings1));
|
||||
CAbsolutePidl pidl;
|
||||
if (SUCCEEDED(SHGetKnownFolderIDList(FOLDERID_Games,0,NULL,&pidl)) && !ILIsEmpty(pidl))
|
||||
if (!IsWin10RS4() && SUCCEEDED(SHGetKnownFolderIDList(FOLDERID_Games,0,NULL,&pidl)) && !ILIsEmpty(pidl))
|
||||
{
|
||||
std::vector<wchar_t> buf(Strlen(defaultMenu)+1);
|
||||
wchar_t *str=&buf[0];
|
||||
|
||||
Reference in New Issue
Block a user