Fix Docker desktop not found in program plugin issue (#6882)

* Fix docker lnk not found issue

* Add common desktop folder location to desktop program

* Add CommonDesktopDirectory to file watchers
This commit is contained in:
Divyansh Srivastava
2020-10-07 12:27:56 -07:00
committed by GitHub
parent eae0937db0
commit 2bd6c5c664
2 changed files with 8 additions and 5 deletions

View File

@@ -28,9 +28,10 @@ namespace Microsoft.Plugin.Program.Storage
{
string[] paths = new string[]
{
Environment.GetFolderPath(Environment.SpecialFolder.Programs),
Environment.GetFolderPath(Environment.SpecialFolder.CommonPrograms),
Environment.GetFolderPath(Environment.SpecialFolder.StartMenu),
Environment.GetFolderPath(Environment.SpecialFolder.CommonStartMenu),
Environment.GetFolderPath(Environment.SpecialFolder.Desktop),
Environment.GetFolderPath(Environment.SpecialFolder.CommonDesktopDirectory),
};
return paths;
}