LVPWB/lvpwb/paths.py

24 lines
617 B
Python

from __future__ import annotations
from datetime import datetime
from pathlib import Path
import lvpwb as app
ROOT = Path(__file__).resolve().parent.parent
CARD_DIR = ROOT / "cards"
SEASON_DIR = ROOT / "seasons"
EDIT_DIR = ROOT / "edit"
CUSTOM_GAME_DIR = EDIT_DIR / "games"
DUCKSTATION_SCREENSHOT_DIR = Path.home() / ".local/share/duckstation/screenshots"
PCSX2_SCREENSHOT_DIR = Path.home() / ".config/PCSX2/snaps"
SESSION_START = datetime.now().astimezone()
__all__ = ['CARD_DIR', 'CUSTOM_GAME_DIR', 'DUCKSTATION_SCREENSHOT_DIR', 'EDIT_DIR', 'PCSX2_SCREENSHOT_DIR', 'ROOT', 'SEASON_DIR', 'SESSION_START']