Skip to content

Commit 67a086f

Browse files
committed
explicitly unpack node usb and serialport
1 parent ed01ecf commit 67a086f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app-shell/electron-builder.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ module.exports = async () => ({
5353
artifactName: '${productName}-v${version}-${os}-${env.BUILD_ID}.${ext}',
5454
/* eslint-enable no-template-curly-in-string */
5555
asar: true,
56+
asarUnpack: ['node_modules/usb', 'node_modules/serialport'],
5657
mac: {
5758
target: process.platform === 'darwin' ? ['dmg', 'zip'] : ['zip'],
5859
category: 'public.app-category.productivity',

0 commit comments

Comments
 (0)