mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-11 17:37:22 +10:00
StartMenuHelper: Add shell extension to desktop packaged applications
This will allow `Pin to start` for desktop applications downloaded from Microsoft Store (such as Windows Terminal).
This commit is contained in:
@@ -518,6 +518,7 @@ static bool RemoveRegistryKeys( bool bPin )
|
||||
if (bPin)
|
||||
{
|
||||
RemoveShellExtKey(L"Launcher.ImmersiveApplication");
|
||||
RemoveShellExtKey(L"Launcher.DesktopPackagedApplication");
|
||||
RemoveShellExtKey(L"Launcher.SystemSettings");
|
||||
}
|
||||
|
||||
|
||||
@@ -121,6 +121,7 @@ static void AddRegistryKeys( bool bPin )
|
||||
if (bPin)
|
||||
{
|
||||
AddShellExt(L"Launcher.ImmersiveApplication", &sa);
|
||||
AddShellExt(L"Launcher.DesktopPackagedApplication", &sa);
|
||||
AddShellExt(L"Launcher.SystemSettings", &sa);
|
||||
}
|
||||
}
|
||||
@@ -154,6 +155,7 @@ static void RemoveRegistryKeys( bool bPin )
|
||||
if (bPin)
|
||||
{
|
||||
RemoveShellExt(L"Launcher.ImmersiveApplication");
|
||||
RemoveShellExt(L"Launcher.DesktopPackagedApplication");
|
||||
RemoveShellExt(L"Launcher.SystemSettings");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user