mirror of
https://github.com/denglihong2007/CRSim
synced 2026-06-23 10:25:41 +08:00
17 lines
523 B
C#
17 lines
523 B
C#
namespace CRSim.Core.Utils
|
|
{
|
|
public static class AppPaths
|
|
{
|
|
public static string AppDataPath =>
|
|
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "CRSim");
|
|
public static string TempPath =>
|
|
Path.Combine(Path.GetTempPath(), "CRSim");
|
|
|
|
public static string ConfigFilePath =>
|
|
Path.Combine(AppDataPath, "data.json");
|
|
|
|
public static string PluginsRootPath =>
|
|
Path.Combine(AppDataPath, "Plugins");
|
|
}
|
|
}
|