From 5c3acf61b4e4cb2eaec3ccf3b2d2ef524e09fa6c Mon Sep 17 00:00:00 2001 From: Divyansh Srivastava Date: Wed, 13 May 2020 17:50:19 -0700 Subject: [PATCH] Fixed powertoys run not reacting to change in settings (#2968) * Fixed powertoys run project name in settings * Rename save directory --- src/core/Microsoft.PowerToys.Settings.UI.Lib/EnabledModules.cs | 2 +- .../PowerLauncherSettings.cs | 2 +- src/modules/launcher/Wox.Infrastructure/Wox.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/Microsoft.PowerToys.Settings.UI.Lib/EnabledModules.cs b/src/core/Microsoft.PowerToys.Settings.UI.Lib/EnabledModules.cs index 13a36217e8..0e10e33adf 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI.Lib/EnabledModules.cs +++ b/src/core/Microsoft.PowerToys.Settings.UI.Lib/EnabledModules.cs @@ -112,7 +112,7 @@ namespace Microsoft.PowerToys.Settings.UI.Lib private bool powerLauncher = true; - [JsonPropertyName("Run")] + [JsonPropertyName("PowerToys Run")] public bool PowerLauncher { get => this.powerLauncher; diff --git a/src/core/Microsoft.PowerToys.Settings.UI.Lib/PowerLauncherSettings.cs b/src/core/Microsoft.PowerToys.Settings.UI.Lib/PowerLauncherSettings.cs index 8fe0e4cf1b..d168cd0acf 100644 --- a/src/core/Microsoft.PowerToys.Settings.UI.Lib/PowerLauncherSettings.cs +++ b/src/core/Microsoft.PowerToys.Settings.UI.Lib/PowerLauncherSettings.cs @@ -8,7 +8,7 @@ namespace Microsoft.PowerToys.Settings.UI.Lib { public class PowerLauncherSettings : BasePTModuleSettings { - public const string POWERTOYNAME = "Run"; + public const string POWERTOYNAME = "PowerToys Run"; public PowerLauncherProperties properties { get; set; } diff --git a/src/modules/launcher/Wox.Infrastructure/Wox.cs b/src/modules/launcher/Wox.Infrastructure/Wox.cs index c3977247c9..d926d3c08a 100644 --- a/src/modules/launcher/Wox.Infrastructure/Wox.cs +++ b/src/modules/launcher/Wox.Infrastructure/Wox.cs @@ -8,7 +8,7 @@ namespace Wox.Infrastructure public static class Constant { public const string ExeFileName = "PowerLauncher"; - public const string ModuleLocation = "Microsoft\\PowerToys\\Run"; + public const string ModuleLocation = "Microsoft\\PowerToys\\PowerToysRun"; public const string Plugins = "Plugins"; private static readonly Assembly Assembly = Assembly.GetExecutingAssembly();