lib/autotest_notification/doom.rb in samflores-autotest-notification-1.8.2 vs lib/autotest_notification/doom.rb in samflores-autotest-notification-1.9.1
- old
+ new
@@ -11,9 +11,11 @@
case RUBY_PLATFORM
when /darwin/
`#{File.expand_path(File.dirname(__FILE__) + "/../../bin/")}/playsound #{sound_file}`
when /linux/
system("/usr/bin/mplayer #{sound_file} > /dev/null 2> /dev/null")
+ when /cygwin/
+ system "cp #{sound_file} /dev/dsp"
end
end
private
def percent(total, failures)