Fixed powertoys run not reacting to change in settings (#2968)

* Fixed powertoys run project name in settings

* Rename save directory
This commit is contained in:
Divyansh Srivastava 2020-05-13 17:50:19 -07:00 committed by GitHub
parent 953d835ded
commit 5c3acf61b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ namespace Microsoft.PowerToys.Settings.UI.Lib
private bool powerLauncher = true; private bool powerLauncher = true;
[JsonPropertyName("Run")] [JsonPropertyName("PowerToys Run")]
public bool PowerLauncher public bool PowerLauncher
{ {
get => this.powerLauncher; get => this.powerLauncher;

View File

@ -8,7 +8,7 @@ namespace Microsoft.PowerToys.Settings.UI.Lib
{ {
public class PowerLauncherSettings : BasePTModuleSettings public class PowerLauncherSettings : BasePTModuleSettings
{ {
public const string POWERTOYNAME = "Run"; public const string POWERTOYNAME = "PowerToys Run";
public PowerLauncherProperties properties { get; set; } public PowerLauncherProperties properties { get; set; }

View File

@ -8,7 +8,7 @@ namespace Wox.Infrastructure
public static class Constant public static class Constant
{ {
public const string ExeFileName = "PowerLauncher"; public const string ExeFileName = "PowerLauncher";
public const string ModuleLocation = "Microsoft\\PowerToys\\Run"; public const string ModuleLocation = "Microsoft\\PowerToys\\PowerToysRun";
public const string Plugins = "Plugins"; public const string Plugins = "Plugins";
private static readonly Assembly Assembly = Assembly.GetExecutingAssembly(); private static readonly Assembly Assembly = Assembly.GetExecutingAssembly();