Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "sfx", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Sound effects for your node programs", | ||
@@ -5,0 +5,0 @@ "main": "sfx.js", |
@@ -97,3 +97,6 @@ var exec = require("child_process").exec, | ||
if(process.platform !== "darwin") return console.log("`say` is a darwin only feature. Sorry dudes."); | ||
if(process.platform !== "darwin") { | ||
if(callback) return callback(); | ||
else return console.log("`say` is a darwin only feature. Sorry, for now."); | ||
} | ||
@@ -100,0 +103,0 @@ var voices = "Agnes,Albert,Alex,Bad News,Bahh,Bells,Boing,Bruce,Bubbles,Cellos,Deranged,Fred,Good News,Hysterical,Junior,Kathy,Pipe Organ,Princess,Ralph,Trinoids,Vicki,Victoria,Whisper,Zarvox".split(",").map(function(v) { |
923556
272