You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
794 B
29 lines
794 B
namespace AM2RPortHelperLib;
|
|
|
|
public static class Core
|
|
{
|
|
private static string ReturnAndCreateConfigDir()
|
|
{
|
|
string path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData, Environment.SpecialFolderOption.Create) + "/PortHelper/";
|
|
Console.WriteLine(path);
|
|
Directory.CreateDirectory(path);
|
|
return path;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The full path to the PortHelper's place in Configuration Application Data.
|
|
/// </summary>
|
|
internal static readonly string ConfigDir = ReturnAndCreateConfigDir();
|
|
|
|
/// <summary>
|
|
/// The current version of <see cref="AM2RPortHelperLib"/>.
|
|
/// </summary>
|
|
public const string Version = "1.4";
|
|
|
|
public enum ModOS
|
|
{
|
|
Windows,
|
|
Linux,
|
|
Mac
|
|
}
|
|
} |