External VLC on Windows
Turns out we can't use vlc --version because it pops up a command prompt :/
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user