- when downloading updates, it uses lots of CPU.
Imgur
(when not in update, it only use < 10%).
- update may lost connection and get a incomplete package, then throw SHA2 checksum error. my service is over https, and a complete package is always correct. but they often download a incomplete one. there is apart of my nginx log:
Imgur
my app total length is 35925496, but he failed 2 times before got a complete one.
I'm sure he is not close my app manually, he's waiting for update, and got a sha2 checksum error.
his network to my server works well, when using wget or browser, download will always complete.
- the sha2 checksum error is not catchable.
I've listened autoUpdater.on("error") event, but still throws a error window.
Imgur