from __future__ import annotations

import os
from pathlib import Path


def app_data_dir() -> Path:
    base = os.environ.get("LOCALAPPDATA") or str(Path.home() / "AppData" / "Local")
    d = Path(base) / "ProxyChainManager"
    d.mkdir(parents=True, exist_ok=True)
    return d


def gost_exe_path() -> Path:
    return app_data_dir() / "gost.exe"
