mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Update class to inherite from Settings.ProgramSource
This commit is contained in:
parent
10fb76377c
commit
1ca9389110
1 changed files with 2 additions and 16 deletions
|
|
@ -1,19 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace Wox.Plugin.Program.Views.Models
|
||||
{
|
||||
public class ProgramSource
|
||||
{
|
||||
private string name;
|
||||
|
||||
public string Location { get; set; }
|
||||
public string Name { get => name ?? new DirectoryInfo(Location).Name; set => name = value; }
|
||||
public string UniqueIdentifier { get; set; }
|
||||
public bool Enabled { get; set; } = true;
|
||||
}
|
||||
public class ProgramSource : Settings.ProgramSource { }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue