This commit is contained in:
bao-qian
2016-04-26 22:45:31 +01:00
parent 57c33fe693
commit e96bd5a0e7
6 changed files with 12 additions and 12 deletions

View File

@@ -32,11 +32,11 @@ namespace Wox.Plugin.Program
private static ProgramIndexCache _cache;
private static BinaryStorage<ProgramIndexCache> _cacheStorage;
private static Settings _settings;
private readonly PluginSettingsStorage<Settings> _settingsStorage;
private readonly PluginJsonStorage<Settings> _settingsStorage;
public Programs()
{
_settingsStorage = new PluginSettingsStorage<Settings>();
_settingsStorage = new PluginJsonStorage<Settings>();
_settings = _settingsStorage.Load();
_cacheStorage = new BinaryStorage<ProgramIndexCache>();
_cache = _cacheStorage.Load();