mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Refactoring directory path for storage
This commit is contained in:
@@ -14,15 +14,7 @@ namespace Wox.ImageLoader
|
||||
private const int maxCached = 200;
|
||||
public Dictionary<string, int> TopUsedImages = new Dictionary<string, int>();
|
||||
|
||||
protected override string ConfigFolder
|
||||
{
|
||||
get { return Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Config"); }
|
||||
}
|
||||
|
||||
protected override string ConfigName
|
||||
{
|
||||
get { return "ImageCache"; }
|
||||
}
|
||||
protected override string FileName { get; } = "ImageCache";
|
||||
|
||||
public void Add(string path)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user