external player: Only run special .app login on darwin
This commit is contained in:
parent
fd1a1f0f7e
commit
44f621b4de
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ function kill () {
|
|||
function spawnExternal (playerPath, args) {
|
||||
log('Running external media player:', playerPath + ' ' + args.join(' '))
|
||||
|
||||
if (path.extname(playerPath) === '.app') {
|
||||
if (process.platform === 'darwin' && path.extname(playerPath) === '.app') {
|
||||
// Mac: Use executable in packaged .app bundle
|
||||
playerPath += '/Contents/MacOS/' + path.basename(playerPath, '.app')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue