1.3 KiB
1.3 KiB
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; false → daily_* 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 7‑Zip (if available); false → use Python’s built-in zipfile module. |
compression |
int | Compression level 0-9 (0 = store only, 9 = max). Applies to both zipfile and 7‑Zip. |
Notes
UpdateProjectBatches.ps1copiesconfig.jsonandConfigLoader.ps1to the target project so the helper.batlaunchers can resolve script locations.- When
zipperistrue, the tool searches for7z/7zaonPATH. If neither is found it logs a warning and falls back tozipfile. - Leaving
structDirempty is safe—the scripts fall back to the directory that containsconfig.json.