Moving launcher save settings under AppData/Local/Microsoft/PowerToys/Run

This commit is contained in:
ryanbodrug-microsoft
2020-05-03 15:54:23 -07:00
parent 1655594514
commit da550a4a67
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ namespace PowerLauncher
// Set up watcher
try
{
_watcher = Helper.GetFileWatcher("Launcher", "settings.json", OverloadSettings);
_watcher = Helper.GetFileWatcher(PowerLauncherSettings.POWERTOYNAME, "settings.json", OverloadSettings);
}
catch (Exception e)
{
@@ -47,7 +47,7 @@ namespace PowerLauncher
retry = false;
try
{
var overloadSettings = SettingsUtils.GetSettings<PowerLauncherSettings>("Launcher");
var overloadSettings = SettingsUtils.GetSettings<PowerLauncherSettings>(PowerLauncherSettings.POWERTOYNAME);
var openPowerlauncher = ConvertHotkey(overloadSettings.properties.open_powerlauncher);
if (_settings.Hotkey != openPowerlauncher)