Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions BitDream/AppUpdater.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ final class AppUpdater: NSObject, ObservableObject {

init(updatesEnabled: Bool = true) {
super.init()
#if DEBUG
return
#else
guard updatesEnabled else { return }

updaterController = SPUStandardUpdaterController(
Expand All @@ -37,6 +40,7 @@ final class AppUpdater: NSObject, ObservableObject {
)
observeUpdaterState()
refreshState()
#endif
}

func start() {
Expand Down
Loading