/* * check-packaged-files.js — refuse to build an app that is missing a module. * * package.json's build.files is an explicit ALLOW-LIST. Adding a new module and * forgetting to list it produces a DMG that installs cleanly, launches cleanly, * and then throws at the first require() — which is exactly what shipped once: * three new files were left out, `require('./sidecar-langs.js')` threw inside * the voice process, and the natural voices silently never started. Nothing in * the build said a word. * * So the build now reads what the code actually loads — every local require() * in the main/child processes and every