From 6d89d5bb0873f442422ca9e7599aaff69c35ce42 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Fri, 3 Apr 2026 11:15:31 -0400 Subject: [PATCH] fix: add PRECON_DIR env var (PRECON_DECKS_DIR was never read by lab_api.py) --- .env.example | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.env.example b/.env.example index 3b68889..156cbf7 100644 --- a/.env.example +++ b/.env.example @@ -18,5 +18,9 @@ FORGE_WORKING_DIR=D:/ForgeCommander/forge-repo/forge-gui # ── Deck Paths ──────────────────────────────────────────────────── # Directory containing your precon .dck files. # Forge reads deck files directly from this folder. +# +# IMPORTANT: lab_api.py reads PRECON_DIR (not PRECON_DECKS_DIR). +# PRECON_DECKS_DIR is kept below for backwards compat but is NOT used by the server. +PRECON_DIR=D:\ForgeCommander\commander-ai-lab\precon-decks PRECON_DECKS_DIR=D:\ForgeCommander\commander-ai-lab\precon-decks FORGE_DECKS_DIR=D:\ForgeCommander\commander-ai-lab\precon-decks