autoUpdater.on('error', (err) =>{if(err.message.includes('sha512 checksum mismatch')) { Message(mainWindow,-1,'sha512校验失败') } })//当开始检查更新的时候触发autoUpdater.on('checking-for-update', (event, arg) =>{ Message(mainWindow,0) })//发现可更新数据时autoUpdater.on('update-ava...
I also tried verifying usingChecksum Validatorwhich also resulted in a checksum mismatch. commentedJul 9, 2019 For checking sha512 for you app, use the node script located in this thread: #3913 Running that in node gave us the correct sha512 value... As for the mismatch, I want to just...
('sha512 checksum mismatch')) { handlerMessage(mainWindow, UpdateEnum.error,'sha512 checksum mismatch') } }) ipcMain.on('checking-for-update',(event, arg) =>{console.log('checking-for-update') handlerMessage(mainWindow, UpdateEnum.checking) })autoUpdater.on('update-available',(info) =>...