Skip to content

Commit

Permalink
Add SparkleController class for handling Sparkle updates
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusziade committed Jun 24, 2024
1 parent 2b28159 commit 61e9c63
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Mythic/Utilities/SparkleController.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import Sparkle

final class SparkleController: ObservableObject {
var updaterController: SPUStandardUpdaterController

var updater: SPUUpdater {
updaterController.updater
}

init() {
updaterController = SPUStandardUpdaterController(
startingUpdater: true,
updaterDelegate: nil,
userDriverDelegate: nil
)
}
}

0 comments on commit 61e9c63

Please sign in to comment.