Closed xp6530 closed 7 years ago
1.1.2 已增加
@trazyn 您是怎么判断新版本的, 通过哪个url去检查, 代码里看不出来 https://github.com/trazyn/weweChat/commit/2d3f8060f8f6cbc3593ba32c07f3e41febeca312
@trazyn 这个是electron-builder项目的代码, weweChat这个项目是通过哪个url去判断是否该更新了?
electron-builder拿到配置在package.json 中的 publish信息生成 app-update.yml ,provider 以 github 为例检查 release 找对应的 last-platform.yml,剩下的顺着上面回复代码看就好
@trazyn 谢谢,如果不用github做判断, 以自己的服务器做更新判断要怎么改呢? 更新文件也是保存在自己的服务器上的
可以参考这里: https://www.electron.build/configuration/publish#genericserveroptions https://www.electron.build/file-patterns#file-macros
On Mon, Aug 13, 2018 at 11:17 AM uuyimei notifications@github.com wrote:
@trazyn https://github.com/trazyn 谢谢,如果不用github做判断, 以自己的服务器做更新判断要怎么改呢? 更新文件也是保存在自己的服务器上的
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/trazyn/weweChat/issues/31#issuecomment-412398527, or mute the thread https://github.com/notifications/unsubscribe-auth/ABsVMpo27HMy8ILvnChcT89wZ_o3uutRks5uQO-2gaJpZM4PUN0w .
https://www.electron.build/auto-update 目前主要在改bug和优化,不准备加新功能
On Tue, Sep 12, 2017 at 3:27 PM, xp6530 notifications@github.com wrote: