Skip to content

Commit

Permalink
Fix #78. Raise volume and unmute in windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioschneider committed Feb 27, 2015
1 parent e1ef81a commit 6bf1e9c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ By Tomás Pollak, with the help of contributors.

- To Robert Harder for the ImageSnap utility for OS X.
- To Michael Hipp for mpg123.
- To Nir Sofer for NirCmd.
- And to all the Node.js developers for their awesome modules (async, connect, rimraf, etc).

## Legal
Expand Down
Binary file added lib/agent/actions/alarm/bin/nircmdc.exe
Binary file not shown.
Binary file removed lib/agent/actions/alarm/bin/voladjust.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/agent/actions/alarm/windows.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var join = require('path').join;

exports.play = join(__dirname, 'bin', 'mpg123.exe');
exports.raise_volume = '"' + join(__dirname, 'bin', 'voladjust.exe') + '" 100 ';
exports.raise_volume = '"' + join(__dirname, 'bin', 'nircmdc.exe') + '" changesysvolume 65535 & "' + join(__dirname, 'bin', 'nircmd.exe') + '" mutesysvolume 0';

0 comments on commit 6bf1e9c

Please sign in to comment.