Sparkle 框架在启动时不检查更新

发布于 2024-08-01 20:59:13 字数 250 浏览 6 评论 0原文

我正在开发一个 Cocoa 应用程序,并使用 Sparkle 框架 进行更新。 我需要检查启动时是否有新版本可用。 我将 SUCheckAtStartup 键添加到 info.plist 并将其状态更新为 true,但应用程序在启动时仍然不要求更新。 我怎样才能解决这个问题?

提前致谢...

I am developing a Cocoa application, and using the Sparkle framework for updating. I need to check whether any new version is available at startup. I added the SUCheckAtStartup key to info.plist and updated its status as true, but still the application is not asking for update at startup. How can I fix this?

Thanks in advance...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

冷情妓 2024-08-08 20:59:13

似乎该选项已被删除并替换为 SUScheduledCheckIntervalSUEnableAutomaticChecks

另请注意,Sparkle 故意不在首次启动时进行检查(以避免破坏首次运行的印象)。

It seems that this option has been removed and replaced with SUScheduledCheckInterval and SUEnableAutomaticChecks.

Also note that Sparkle deliberately does not check on first startup (to avoid spoiling first-run impressions).

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