• src/doors/syncscumm/build.bat deploy.js

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sunday, July 19, 2026 17:31:21
    https://gitlab.synchro.net/main/sbbs/-/commit/cd1a3106629e8f6846e9f610
    Modified Files:
    src/doors/syncscumm/build.bat deploy.js
    Log Message:
    syncscumm: auto-discover deploy targets instead of a whitelist

    deploy.js kept a hand-maintained PACKAGES list of xtrn dir names, which
    went stale: a title installed later (or a commercial title a sysop adds
    by hand in SCFG, e.g. a Maniac Mansion door) was silently skipped until
    someone edited the script.

    Replace it with syncscumm_dirs(), which finds every SyncSCUMM package
    the same self-updating way SyncRetro's deploy.js does, from the union of
    two markers: (1) the dir already holds a syncscumm binary -- the only
    marker for a hand-registered commercial title with no install-xtrn.ini;
    (2) an install-xtrn.ini whose cmd LAUNCHES the syncscumm binary -- the first-install marker, before any binary exists. The cmd test matches the invoked-binary token, not any mention, so the M2 test skeleton
    (xtrn/syncscumm, whose cmd runs ../build/scummvm) is correctly excluded.

    Verified against the live install: discovers all packages including a hand-added Maniac Mansion door (binary marker, no install-xtrn.ini), and
    on a bare checkout the shipped freeware packages minus the skeleton.

    build.bat's post-build hint updated to match ("every SyncSCUMM
    package").

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net