Files
ProjectStructure_HOME/CONFIG.md
2025-11-10 10:16:23 -07:00

1.3 KiB
Raw Permalink Blame History

ProjectStructure Configuration

The repository reads user preferences from config.json in the ProjectStructure root (copied alongside helper batches when they are deployed to projects).

Keys

Key Type Meaning
dailyFormat bool true → daily folders named YYYY-MM-DD; falsedaily_* style.
structDir string Absolute or relative path to the canonical ProjectStructure directory. Blank values default to the folder containing config.json.
projectsRoot string (optional) Override for the root directory scanned by UpgradeSeqBatches.ps1. Defaults to the parent of structDir.
zipper bool true → use 7Zip (if available); false → use Pythons built-in zipfile module.
compression int Compression level 0-9 (0 = store only, 9 = max). Applies to both zipfile and 7Zip.

Notes

  • UpdateProjectBatches.ps1 copies config.json and ConfigLoader.ps1 to the target project so the helper .bat launchers can resolve script locations.
  • When zipper is true, the tool searches for 7z/7za on PATH. If neither is found it logs a warning and falls back to zipfile.
  • Leaving structDir empty is safe—the scripts fall back to the directory that contains config.json.