mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
update
This commit is contained in:
parent
08f409993a
commit
e1b211ed8e
2 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ namespace Wox.Plugin.Program
|
|||
internal static UWP.Application[] _uwps { get; set; }
|
||||
internal static Settings _settings { get; set; }
|
||||
|
||||
private static bool IsStartupIndexProgramsRequired => _settings.LastReindexTime.AddDays(3) < DateTime.Today;
|
||||
private static bool IsStartupIndexProgramsRequired => _settings.LastIndexTime.AddDays(3) < DateTime.Today;
|
||||
|
||||
private static PluginInitContext _context;
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ namespace Wox.Plugin.Program
|
|||
|
||||
Task.WaitAll(a, b);
|
||||
|
||||
_settings.LastReindexTime = DateTime.Today;
|
||||
_settings.LastIndexTime = DateTime.Today;
|
||||
}
|
||||
|
||||
public void Save()
|
||||
|
|
@ -117,7 +117,7 @@ namespace Wox.Plugin.Program
|
|||
|
||||
Task.WaitAll(t1, t2);
|
||||
|
||||
_settings.LastReindexTime = DateTime.Today;
|
||||
_settings.LastIndexTime = DateTime.Today;
|
||||
}
|
||||
|
||||
public Control CreateSettingPanel()
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Wox.Plugin.Program
|
|||
{
|
||||
public class Settings
|
||||
{
|
||||
public DateTime LastReindexTime { get; set; }
|
||||
public DateTime LastIndexTime { get; set; }
|
||||
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
|
||||
public List<DisabledProgramSource> DisabledProgramSources { get; set; } = new List<DisabledProgramSource>();
|
||||
public string[] ProgramSuffixes { get; set; } = {"bat", "appref-ms", "exe", "lnk"};
|
||||
|
|
|
|||
Loading…
Reference in a new issue