我正在开发跨平台应用程序(Mac和Windows)。如何在Mac和Windows的此应用程序中单独或组合添加自动更新?
通过一些谷歌搜索,我开始了解Mac的 Sparkle框架,但无法跟踪其文档,因为它可能解释了XCode项目。如何将Sparkle框架用于Qt项目?
答案 0 :(得分:1)
您可以将this用于您的目的。这是它的简短描述:
We needed an autoupdater for our project and decided to emulate Sparkle as closely as
possible but to keep it cross-platform.
Here are the bullet points:
Licensed under the MIT license
Designed for and tested with Qt 4.8
Requires updates to be digitally signed
Periodically checks for updates
Downloads updates to a temporary directory and executes installers (or on mac opens .dmg files), deleting them after install.
Here are some of the things we haven't worked on yet but will once they become more of an issue:
Doesn't have a fancy automated install process. Instead relies on installers and direct user intervention (drag-drop .app bundle on mac).
Doesn't consider updates delivered over TLS to be safe unless they are also signed (unnecessary redundancy)