Disable Sparke's check for updates on DEBUG builds

This commit is contained in:
Maurice Parker
2019-10-11 15:07:41 -05:00
parent 605607ece0
commit a3a694333a
4 changed files with 5 additions and 43 deletions

View File

@@ -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