Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 Sparkle 更新应用程序(不是当前应用程序)。我从创建更新程序对象的简单事情开始:
var updater = SUUpdater(forBundle: appBundle)
我遇到的问题是,如果出现问题,那行代码可以打开 UI 对话框。例如:
我可以解决这个问题,但我担心的是这段代码正在屏幕保护程序上运行,并且弹出这样的对话框会阻止它到硬重启是前进的唯一方法的地步。
有没有办法阻止 Sparkle 打开任何类型的 UI?