From 3bdcf1077bd805124d27b3c905502f407ec8b394 Mon Sep 17 00:00:00 2001 From: ryanbodrug-microsoft <56318517+ryanbodrug-microsoft@users.noreply.github.com> Date: Sun, 3 May 2020 18:18:54 -0700 Subject: [PATCH] Updating wox infrastructure to save to "AppData\\Local\\Microsoft\\PowerToys\\Run" directory. --- src/modules/launcher/Wox.Infrastructure/Wox.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/launcher/Wox.Infrastructure/Wox.cs b/src/modules/launcher/Wox.Infrastructure/Wox.cs index 25012495f..c3977247c 100644 --- a/src/modules/launcher/Wox.Infrastructure/Wox.cs +++ b/src/modules/launcher/Wox.Infrastructure/Wox.cs @@ -8,6 +8,7 @@ namespace Wox.Infrastructure public static class Constant { public const string ExeFileName = "PowerLauncher"; + public const string ModuleLocation = "Microsoft\\PowerToys\\Run"; public const string Plugins = "Plugins"; private static readonly Assembly Assembly = Assembly.GetExecutingAssembly(); @@ -26,7 +27,7 @@ namespace Wox.Infrastructure } else { - return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), ExeFileName); + return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), ModuleLocation); } }