Don’t check for crash report if running MAS version.

This commit is contained in:
Brent Simmons 2019-01-11 23:18:48 -08:00
parent 085cfb2e60
commit fa28a75c9c
1 changed files with 5 additions and 3 deletions

View File

@ -173,9 +173,11 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
}
#endif
DispatchQueue.main.async {
CrashReporter.check(appName: "NetNewsWire")
}
#if !MAC_APP_STORE
DispatchQueue.main.async {
CrashReporter.check(appName: "NetNewsWire")
}
#endif
}
func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {