簡體   English   中英

Electron autoUpdater 未從私有存儲庫中獲取版本

[英]Electron autoUpdater is not fetching releases from private repository

Electron autoUpdater 在公共存儲庫中運行良好,但無法從私有存儲庫中找到最新版本。

我還配置了 electron-updater 以使用 github 令牌:

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

它拋出以下錯誤:無法在 GitHub 上找到最新版本,請確保存在生產版本:HttpError: 404

將 electron-updater 降級為“4.6.5”,並設置環境變量 GH_TOKEN

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM