mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Disable Sparke's check for updates on DEBUG builds
This commit is contained in:
@@ -13,6 +13,7 @@ import RSTree
|
||||
import RSWeb
|
||||
import Account
|
||||
import RSCore
|
||||
import Sparkle
|
||||
|
||||
var appDelegate: AppDelegate!
|
||||
|
||||
@@ -201,6 +202,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
SUUpdater.shared()?.automaticallyChecksForUpdates = false
|
||||
refreshTimer!.update()
|
||||
syncTimer!.update()
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user