mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
Updating wox infrastructure to save to "AppData\\Local\\Microsoft\\PowerToys\\Run" directory.
This commit is contained in:
@@ -8,6 +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 Plugins = "Plugins";
|
public const string Plugins = "Plugins";
|
||||||
|
|
||||||
private static readonly Assembly Assembly = Assembly.GetExecutingAssembly();
|
private static readonly Assembly Assembly = Assembly.GetExecutingAssembly();
|
||||||
@@ -26,7 +27,7 @@ namespace Wox.Infrastructure
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), ExeFileName);
|
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), ModuleLocation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user