Skip to content

Commit

Permalink
Add OS check to notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
hSATAC committed Mar 18, 2015
1 parent 78a8208 commit cb81cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cb81cce

Please sign in to comment.