最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

typescript - Electron-Updater is not updating - Stack Overflow

programmeradmin6浏览0评论

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
发布评论

评论列表(0)

  1. 暂无评论