简体   繁体   中英

Electron autoUpdater is not fetching releases from private repository

Electron autoUpdater is working fine with public repository but it could not find latest release from private repository.

I had configured electron-updater also to use the github token:

autoUpdater.setFeedURL({ provider: 'github', owner: ' ', repo: ' ', token: '*****', private: true, host: 'github.com' });

It is throwing following error: Unable to find latest version on GitHub, please ensure a production release exists: HttpError: 404

Downgrade electron-updater to "4.6.5", and set enviroment variable GH_TOKEN

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