feat: bundle private Windows runtimes with settings switches
This commit is contained in:
1 parent
759df7060d
commit
bef87520c2
28 files changed
+902
-10
No files matched your search
@@ -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()
|
||||
}
|
||||
Reference in new issue
Block a user