mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
24 lines
734 B
C#
24 lines
734 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Wox.Plugin.Program
|
|
{
|
|
[Serializable]
|
|
public class ProgramSource
|
|
{
|
|
public string Location { get; set; }
|
|
public string Type { get; set; }
|
|
public int BonusPoints { get; set; }
|
|
public bool Enabled { 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; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return (Type ?? "") + ":" + Location ?? "";
|
|
}
|
|
}
|
|
}
|