mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-14 08:24:55 +12:00
[BUG] Open CLSID key (GUID) shortcuts does not work (#242), version 1.1.0.1
This commit is contained in:
parent
e5bb901a62
commit
b4f3f4f0a1
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.1.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.1.0.0")]
|
||||
[assembly: AssemblyVersion("1.1.0.1")]
|
||||
[assembly: AssemblyFileVersion("1.1.0.1")]
|
||||
|
|
|
@ -83,7 +83,12 @@ namespace SystemTrayMenu.Utilities
|
|||
ShellLinkObject link = (ShellLinkObject)folderItem.GetLink;
|
||||
if (string.IsNullOrEmpty(link.Path))
|
||||
{
|
||||
resolvedFilename = link.Target.Path;
|
||||
// https://github.com/Hofknecht/SystemTrayMenu/issues/242
|
||||
// do not set CLSID key (GUID) shortcuts as resolvedFilename
|
||||
if (!link.Target.Path.Contains("::{"))
|
||||
{
|
||||
resolvedFilename = link.Target.Path;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue