1

我正在使用 Sparkle 框架来更新我的 Mac 应用程序。更新成功完成。但是现在在每次启动应用程序时更新后,用户都会收到一条消息“您的应用程序是最新的”。如何在每次启动时禁用此消息?

我正在使用SUUpdater.shared.checkForUpdateInformation() 并使用代表

- (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)update;

- (void)updaterDidNotFindUpdate:(SUUpdater *)update;

当找到有效更新时,我将调用SUUpdater.shared.installUpdatesIfAvailable

这是在制造问题吗?

4

1 回答 1

1

ok . Now i got the problem after playing around a bit. The delegate need to be set correctly on SUUpdater shared instance. After setting delegate it all works as expected.

于 2018-07-10T06:25:01.360 回答