Andrey Smirnov
Andrey Smirnov

Reputation: 13

Update electron app via npm update

I have an app published in a local npm repo and this app is a main dependency of my second electron app. I've built electron app based on node_modules/my-first-app/dist/index.html. Is there any way to set up auto-updater so that it calls npm update my-first-app and re-build itself depending on gotten version? Thanks in advance!

Upvotes: 0

Views: 412

Answers (1)

PRADEEP Kumar
PRADEEP Kumar

Reputation: 243

Electron build app can be updated via electron-simple-updater (npm package) and you need to write few lines of code to update your project.

Upvotes: 1

Related Questions