External VLC on Windows

Turns out we can't use vlc --version because it pops up a command prompt :/
This commit is contained in:
DC
2016-05-04 04:33:35 -07:00
parent 1e487a3c2a
commit 8ebb2349dd
3 changed files with 11 additions and 30 deletions

View File

@@ -92,9 +92,9 @@ function init () {
windows.focusWindow(windows[windowName])
})
ipcMain.on('vlcVersion', function (e) {
vlc.getInstalledVersion(function (version) {
windows.main.send('vlcVersion', version)
ipcMain.on('checkForVLC', function (e) {
vlc.checkForVLC(function (isInstalled) {
windows.main.send('checkForVLC', isInstalled)
})
})