简体   繁体   中英

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!

Electron build app可以通过electron-simple-updater(npm软件包)进行更新,您需要编写几行代码来更新项目。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM