mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
parent
07fe141f8a
commit
d416a77866
3 changed files with 3 additions and 4 deletions
|
|
@ -10,7 +10,8 @@ namespace Wox.Plugin.Program
|
|||
public string Type { get; set; }
|
||||
public int BonusPoints { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
public string[] Suffixes { get; set; }
|
||||
// happlebao todo: temp hack for program suffixes
|
||||
public string[] Suffixes { get; set; } = {"bat", "appref-ms", "exe", "lnk"};
|
||||
public const char SuffixSeperator = ';';
|
||||
public int MaxDepth { get; set; }
|
||||
public Dictionary<string, string> Meta { get; set; }
|
||||
|
|
|
|||
|
|
@ -107,8 +107,6 @@ namespace Wox.Plugin.Program
|
|||
{
|
||||
sources.AddRange(_settings.ProgramSources);
|
||||
}
|
||||
// happlebao todo: temp hack for program suffixes
|
||||
sources.AsParallel().ForAll(s => { s.Suffixes = _settings.ProgramSuffixes; });
|
||||
|
||||
_sources = sources.AsParallel()
|
||||
.Where(s => s.Enabled && SourceTypes.ContainsKey(s.Type))
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Wox.Plugin.Program
|
|||
var text = value as string[];
|
||||
if (text != null)
|
||||
{
|
||||
return string.Join("", text);
|
||||
return string.Join(";", text);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue