Flow.Launcher/Plugins/Flow.Launcher.Plugin.Program/Settings.cs

30 lines
1.1 KiB
C#
Raw Normal View History

2020-11-08 21:24:52 +00:00
using System;
2019-10-17 20:53:00 +00:00
using System.Collections.Generic;
2019-09-05 22:06:51 +00:00
using System.IO;
2022-10-20 08:15:56 +00:00
using Flow.Launcher.Plugin.Program.Views.Models;
2020-04-21 09:12:17 +00:00
namespace Flow.Launcher.Plugin.Program
{
public class Settings
{
2019-10-17 21:16:07 +00:00
public DateTime LastIndexTime { get; set; }
2016-08-20 00:17:28 +00:00
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
public List<DisabledProgramSource> DisabledProgramSources { get; set; } = new List<DisabledProgramSource>();
public string[] ProgramSuffixes { get; set; } = {"appref-ms", "exe", "lnk"};
public bool EnableStartMenuSource { get; set; } = true;
2021-11-27 20:05:25 +00:00
public bool EnableDescription { get; set; } = false;
public bool HideAppsPath { get; set; } = true;
public bool EnableRegistrySource { get; set; } = true;
2020-11-08 21:24:31 +00:00
public string CustomizedExplorer { get; set; } = Explorer;
2020-11-09 02:25:43 +00:00
public string CustomizedArgs { get; set; } = ExplorerArgs;
2016-08-19 19:34:20 +00:00
internal const char SuffixSeperator = ';';
2016-08-20 00:17:28 +00:00
2020-11-08 21:24:31 +00:00
internal const string Explorer = "explorer";
internal const string ExplorerArgs = "%s";
}
}