mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 03:59:15 +08:00
e0b9a81c9b
1. installer 2. auto check update on startup 3. auto start on next startup 4. remove command line arguments which breaks squirrel 5. auto generate installer on continue integration
21 lines
889 B
C#
21 lines
889 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 const string Settings = "Settings";
|
|
|
|
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);
|
|
public static readonly string SettingsPath = Path.Combine(DataPath, Settings);
|
|
public const string Github = "https://github.com/Wox-launcher/Wox";
|
|
}
|
|
}
|