// PRE-GENERATED (design session). Common local paths.
using System;
using System.IO;

namespace DansoriEQ.App;

public static class AppPaths
{
    public static string Root
    {
        get
        {
            var d = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "DansoriEQ");
            Directory.CreateDirectory(d);
            return d;
        }
    }

    public static string PresetsDir => Path.Combine(Root, "presets");
    public static string DbPath => Path.Combine(Root, "dansorieq.db");
    public static string SwitchRulesFile => Path.Combine(Root, "switch_rules.json");
}
