From fa28a75c9c38c301b5cd817401ba54c6cc26450c Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Fri, 11 Jan 2019 23:18:48 -0800 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20check=20for=20crash=20report=20?= =?UTF-8?q?if=20running=20MAS=20version.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NetNewsWire/AppDelegate.swift | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/NetNewsWire/AppDelegate.swift b/NetNewsWire/AppDelegate.swift index 6c0806988..8a114e7c9 100644 --- a/NetNewsWire/AppDelegate.swift +++ b/NetNewsWire/AppDelegate.swift @@ -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 {