Skip to content

Commit

Permalink
[windows] execute command line 'dlcplayer', which is in folder 'voc/d…
Browse files Browse the repository at this point in the history
…lcplayer' by default.

so that user don't have to install dlcplayer by themselves.
  • Loading branch information
zlargon committed Dec 31, 2016
1 parent 481f0af commit c753717
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ appveyor.yml
.travis.yml
.babelrc
.eslintrc
.dlcplayer.zip
dlcplayer.zip
CHANGELOG.md
Binary file added dlcplayer/dlc.exe
Binary file not shown.
Binary file added dlcplayer/ikpFlac.dll
Binary file not shown.
Binary file added dlcplayer/ikpMP3.dll
Binary file not shown.
Binary file added dlcplayer/irrKlang.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion src/voc.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function reset () {
case 'win32':
config = {
directory: path.resolve(process.env.USERPROFILE, 'vocabulary'),
audio_cli: 'dlc -p'
audio_cli: path.resolve(__dirname, '../dlcplayer/dlc') + ' -p'
};
break;

Expand Down

0 comments on commit c753717

Please sign in to comment.