Skip to content

Commit

Permalink
explicitly unpack node usb and serialport
Browse files Browse the repository at this point in the history
  • Loading branch information
shlokamin committed Feb 29, 2024
1 parent ed01ecf commit 67a086f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app-shell/electron-builder.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ module.exports = async () => ({
artifactName: '${productName}-v${version}-${os}-${env.BUILD_ID}.${ext}',
/* eslint-enable no-template-curly-in-string */
asar: true,
asarUnpack: ['node_modules/usb', 'node_modules/serialport'],
mac: {
target: process.platform === 'darwin' ? ['dmg', 'zip'] : ['zip'],
category: 'public.app-category.productivity',
Expand Down

0 comments on commit 67a086f

Please sign in to comment.