mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 12:09:18 +08:00
bc0f5a9136
fix #574
17 lines
674 B
C#
17 lines
674 B
C#
using System;
|
|
using System.IO;
|
|
using System.Reflection;
|
|
|
|
namespace Wox.Infrastructure
|
|
{
|
|
public static class Wox
|
|
{
|
|
public const string Name = "Wox";
|
|
public const string Plugins = "Plugins";
|
|
public static readonly string ProgramPath = Directory.GetParent(Assembly.GetExecutingAssembly().Location).ToString();
|
|
public static readonly string DataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), Name);
|
|
public static readonly string UserDirectory = Path.Combine(DataPath, Plugins);
|
|
public static readonly string PreinstalledDirectory = Path.Combine(ProgramPath, Plugins);
|
|
}
|
|
}
|