Electron Autoupdater并未从私人存储库中获取版本
Electron AutoupDater在公共存储库中工作正常,但找不到私人存储库中的最新版本。
我还配置了电子 - 上升器,以使用github令牌:
autoupdater.setFeedUrl({{{ 提供者:“ github”, 所有者:' ', 仓库:' ', token:'*****', 私人:是的, 主持人:'github.com' });
它正在抛出关注 错误:无法在GitHub上找到最新版本,请确保存在生产版本:httperror:404
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
降级电子 - 上限至“ 4.6.5”,并设置环境变量GH_Token
Downgrade electron-updater to "4.6.5", and set enviroment variable GH_TOKEN