From 48b00242c1f3233d5c5480f4782a12ea3905f215 Mon Sep 17 00:00:00 2001 From: "tka.lu" Date: Wed, 18 Mar 2015 15:02:07 +0800 Subject: [PATCH] Notifier only support MAC --- src/notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notifier.rb b/src/notifier.rb index 8b8c7b9e..f952dc9d 100644 --- a/src/notifier.rb +++ b/src/notifier.rb @@ -11,7 +11,7 @@ def self.notify(msg, options = {}) end def self.is_support - TerminalNotifier.available? + org.jruby.platform.Platform::IS_MAC && TerminalNotifier.available? end end