我正在开发一个跨平台应用程序(Mac 和 Windows)。如何在 Mac 和 Windows 的此应用程序中单独或组合添加自动更新?
通过一些谷歌搜索,我开始了解Mac 的Sparkle 框架,但无法遵循它的文档,因为它可能解释了 XCode 项目。Sparkle 框架如何用于 Qt 项目?
我正在开发一个跨平台应用程序(Mac 和 Windows)。如何在 Mac 和 Windows 的此应用程序中单独或组合添加自动更新?
通过一些谷歌搜索,我开始了解Mac 的Sparkle 框架,但无法遵循它的文档,因为它可能解释了 XCode 项目。Sparkle 框架如何用于 Qt 项目?
您可能可以将其用于您的目的。这是它的简短描述:
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)