wabbajack/Wabbajack.Paths.IO/KnownFolders.cs
2021-09-27 06:42:46 -06:00

16 lines
485 B
C#

using System;
using System.Reflection;
namespace Wabbajack.Paths.IO
{
public static class KnownFolders
{
public static AbsolutePath EntryPoint => Assembly.GetExecutingAssembly().Location.ToAbsolutePath().Parent;
public static AbsolutePath AppDataLocal =>
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData).ToAbsolutePath();
public static AbsolutePath WabbajackAppLocal => AppDataLocal.Combine("Wabbajack");
}
}