mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-10 20:06:36 +00:00
macos: setup the standard sparkle driver for no-window scenario
If there are no windows, we use the standard sparkle driver to drive the standard window-based update UI.
This commit is contained in:
@@ -18,7 +18,9 @@ class UpdateController {
|
||||
/// Initialize a new update controller.
|
||||
init() {
|
||||
let hostBundle = Bundle.main
|
||||
self.userDriver = UpdateDriver(viewModel: .init())
|
||||
self.userDriver = UpdateDriver(
|
||||
viewModel: .init(),
|
||||
hostBundle: hostBundle)
|
||||
self.updater = SPUUpdater(
|
||||
hostBundle: hostBundle,
|
||||
applicationBundle: hostBundle,
|
||||
|
Reference in New Issue
Block a user