summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/mac/RuntimeApplicationChecks.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/mac/RuntimeApplicationChecks.mm')
-rw-r--r--WebCore/platform/mac/RuntimeApplicationChecks.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebCore/platform/mac/RuntimeApplicationChecks.mm b/WebCore/platform/mac/RuntimeApplicationChecks.mm
index a3c4aa5..bcc1dc9 100644
--- a/WebCore/platform/mac/RuntimeApplicationChecks.mm
+++ b/WebCore/platform/mac/RuntimeApplicationChecks.mm
@@ -47,4 +47,10 @@ bool applicationIsMicrosoftMessenger()
return isMicrosoftMessenger;
}
+bool applicationIsAdobeInstaller()
+{
+ static bool isAdobeInstaller = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.adobe.Installers.Setup"];
+ return isAdobeInstaller;
+}
+
} // namespace WebCore