feat: bundle private Windows runtimes with settings switches

This commit is contained in:
Codex committed 2026-10-21 16:31:24 +09:00
1 parent 759df7060d
commit bef87520c2
28 files changed
+902 -10

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
module.exports = async function beforePack(context) {
if (context.electronPlatformName !== 'win32' || context.arch !== 1) {
throw new Error('YCode bundled runtimes support Windows x64 only; do not ship x64 runtimes for another target.')
}
const { verifyRuntimeBundle } = await import('./runtime-bundle.mjs')
await verifyRuntimeBundle()
}