rename cache file

This commit is contained in:
bao-qian
2017-01-14 14:10:30 +00:00
parent 4c6c310e0a
commit 0a2592893d
2 changed files with 3 additions and 3 deletions

View File

@@ -33,9 +33,9 @@ namespace Wox.Plugin.Program
Stopwatch.Normal("Preload programs", () => Stopwatch.Normal("Preload programs", () =>
{ {
_win32Storage = new BinaryStorage<Win32[]>("Win32Cache"); _win32Storage = new BinaryStorage<Win32[]>("Win32");
_win32s = _win32Storage.TryLoad(new Win32[] { }); _win32s = _win32Storage.TryLoad(new Win32[] { });
_uwpStorage = new BinaryStorage<UWP.Application[]>("UWPCache"); _uwpStorage = new BinaryStorage<UWP.Application[]>("UWP");
_uwps = _uwpStorage.TryLoad(new UWP.Application[] { }); _uwps = _uwpStorage.TryLoad(new UWP.Application[] { });
}); });

View File

@@ -33,7 +33,7 @@ namespace Wox.Infrastructure.Image
static ImageLoader() static ImageLoader()
{ {
Storage = new BinaryStorage<ConcurrentDictionary<string, int>> ("ImageCache"); Storage = new BinaryStorage<ConcurrentDictionary<string, int>> ("Image");
ImageCache.Usage = Storage.TryLoad(new ConcurrentDictionary<string, int>()); ImageCache.Usage = Storage.TryLoad(new ConcurrentDictionary<string, int>());
} }