Electron Autoupdater并未从私人存储库中获取版本

发布于 2025-01-26 15:29:37 字数 303 浏览 4 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

﹎☆浅夏丿初晴 2025-02-02 15:29:37

降级电子 - 上限至“ 4.6.5”,并设置环境变量GH_Token

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文