bennymeg / nx-electron

Electron schematics for nrwl nx platform
Apache License 2.0
320 stars 84 forks source link

Different auto updaters #203

Closed Hemesh-Unka closed 1 year ago

Hemesh-Unka commented 1 year ago

Hello!

Really appreciate the hard work with this repo! I had a question to the wider community.

Has anyone had any luck of changing out the current auto updater? I’ve tried swapping out the current one for Electron updater .

Compiles and builds alright. But when opening the built application I am getting the following.

D7A1AD57-61D6-49E0-978A-9882E226A6F3

Am I missing something in the compiler settings or need to create a custom webpack config. Any help would be greatly appreciated.

bennymeg commented 1 year ago

Try adding electron-updater as an external dependency. nx build front-end --externalDependencies=electron-updater

Hemesh-Unka commented 1 year ago

That seemed to do the trick. Thanks @bennymeg