Add support ClickOnce application

ex. Github for Windows use this file extension
This commit is contained in:
cxfksword
2014-03-22 14:01:36 +08:00
parent eb094eaebb
commit dbdd6c701b
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ namespace Wox.Plugin.System.ProgramSources
public class FileSystemProgramSource : AbstractProgramSource
{
public string BaseDirectory;
public List<string> Suffixes = new List<string>() { "lnk", "exe" };
public List<string> Suffixes = new List<string>() { "lnk", "exe", "appref-ms" };
public FileSystemProgramSource(string baseDirectory)
{

View File

@@ -18,7 +18,7 @@ namespace Wox
private static List<string> selfExts = new List<string>() {
".exe", ".lnk",
".ani", ".cur",
".sln"
".sln", ".appref-ms"
};
private static ImageSource GetIcon(string fileName)