mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
bugfix
This commit is contained in:
parent
463f417a42
commit
cbcae41d0a
2 changed files with 2 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
{
|
{
|
||||||
List<Result> ContextMenus(IPublicAPI api);
|
List<Result> ContextMenus(IPublicAPI api);
|
||||||
Result Result(string query, IPublicAPI api);
|
Result Result(string query, IPublicAPI api);
|
||||||
string UniqueIdentifier { get; set; } // get should guarantee lowercase
|
string UniqueIdentifier { get; set; }
|
||||||
string Name { get; }
|
string Name { get; }
|
||||||
string Location { get; }
|
string Location { get; }
|
||||||
bool Enabled { get; }
|
bool Enabled { get; }
|
||||||
|
|
|
||||||
|
|
@ -298,7 +298,7 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
public class Application : IProgram
|
public class Application : IProgram
|
||||||
{
|
{
|
||||||
public string AppListEntry { get; set; }
|
public string AppListEntry { get; set; }
|
||||||
public string UniqueIdentifier { get => _uid; set => _uid = value.ToLowerInvariant(); }
|
public string UniqueIdentifier { get; set; }
|
||||||
public string DisplayName { get; set; }
|
public string DisplayName { get; set; }
|
||||||
public string Description { get; set; }
|
public string Description { get; set; }
|
||||||
public string UserModelId { get; set; }
|
public string UserModelId { get; set; }
|
||||||
|
|
@ -317,8 +317,6 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
||||||
|
|
||||||
public Application() { }
|
public Application() { }
|
||||||
|
|
||||||
private string _uid = string.Empty;
|
|
||||||
|
|
||||||
public Result Result(string query, IPublicAPI api)
|
public Result Result(string query, IPublicAPI api)
|
||||||
{
|
{
|
||||||
string title;
|
string title;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue