mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Expose index file suffixes config [WIP]
This commit is contained in:
@@ -67,6 +67,9 @@ namespace Wox.Infrastructure.Storage.UserSettings
|
||||
[JsonProperty]
|
||||
public double Opacity { get; set; }
|
||||
|
||||
[JsonProperty]
|
||||
public List<string> ProgramSuffixes { get; set; }
|
||||
|
||||
[JsonProperty]
|
||||
public OpacityMode OpacityMode { get; set; }
|
||||
|
||||
@@ -162,6 +165,16 @@ namespace Wox.Infrastructure.Storage.UserSettings
|
||||
{
|
||||
storage.CustomizedPluginConfigs = new List<CustomizedPluginConfig>();
|
||||
}
|
||||
if (storage.ProgramSuffixes == null || storage.ProgramSuffixes.Count == 0)
|
||||
{
|
||||
storage.ProgramSuffixes = new List<string>()
|
||||
{
|
||||
"lnk",
|
||||
"exe",
|
||||
"appref-ms",
|
||||
"bat"
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user