The root package.json's `main` field points at dist/installer/main.js because that's the default `npm run installer` entry. Without an override, `electron-builder --config electron-builder-rp.yml` would package the resourcepack installer with the wrong main, so the exe would start the regular installer (or fail outright). Add `extraMetadata.main: dist/installer-rp/main.js` so the packaged package.json is rewritten at build time to point at the right entry. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
920 B
920 B