fix: isolate Sparkle delegate conformance
This commit is contained in:
@@ -338,7 +338,7 @@ final class UpdateStatus {
|
||||
import Sparkle
|
||||
|
||||
@MainActor
|
||||
final class SparkleUpdaterController: NSObject, UpdaterProviding, SPUUpdaterDelegate {
|
||||
final class SparkleUpdaterController: NSObject, UpdaterProviding {
|
||||
private lazy var controller = SPUStandardUpdaterController(
|
||||
startingUpdater: false,
|
||||
updaterDelegate: self,
|
||||
@@ -398,6 +398,9 @@ final class SparkleUpdaterController: NSObject, UpdaterProviding, SPUUpdaterDele
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
extension SparkleUpdaterController: SPUUpdaterDelegate {}
|
||||
|
||||
private func isDeveloperIDSigned(bundleURL: URL) -> Bool {
|
||||
var staticCode: SecStaticCode?
|
||||
guard SecStaticCodeCreateWithPath(bundleURL as CFURL, SecCSFlags(), &staticCode) == errSecSuccess,
|
||||
|
||||
Reference in New Issue
Block a user