I've been beating my head over this. I have electron-updater installed and im trying to update the app via github. However, it is not updating. I was under the impression it pulls the info from the package.json file? Also, i used electron vite to create the app
main.js
import { autoUpdater } from 'electron-updater'
// At the bottom of main.js
app.on('ready', () => {
autoUpdater.checkForUpdatesAndNotify()
})
and in dev-app-update.yml
provider: github
owner: cwilliamson29
url:
updaterCacheDirName: electron-updater-test-updater
and in electron-builder.yml
publish:
provider: github
owner: cwilliamson29
repo: Electron-Updater-Test
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744225719a4563994.html
评论列表(0条)