File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,11 +179,11 @@ function engage(targetHistory) {
179179 fs . exists ( gui . App . dataPath + '\\vlc_playlist.m3u' , function ( exists ) {
180180 if ( exists ) fs . unlink ( gui . App . dataPath + '\\vlc_playlist.m3u' , function ( ) {
181181 fs . writeFile ( gui . App . dataPath + '\\vlc_playlist.m3u' , newM3U , function ( ) {
182- require ( 'child_process' ) . exec ( require ( 'path' ) . dirname ( process . execPath ) + '\\plugins\\vlc.exe "' + gui . App . dataPath + '\\vlc_playlist.m3u"' ) ;
182+ require ( 'child_process' ) . exec ( '"' + require ( 'path' ) . dirname ( process . execPath ) + '\\plugins\\vlc.exe" "' + gui . App . dataPath + '\\vlc_playlist.m3u"' ) ;
183183 } ) ;
184184 } ) ;
185185 else fs . writeFile ( gui . App . dataPath + '\\vlc_playlist.m3u' , newM3U , function ( ) {
186- require ( 'child_process' ) . exec ( require ( 'path' ) . dirname ( process . execPath ) + '\\plugins\\vlc.exe "' + gui . App . dataPath + '\\vlc_playlist.m3u"' ) ;
186+ require ( 'child_process' ) . exec ( '"' + require ( 'path' ) . dirname ( process . execPath ) + '\\plugins\\vlc.exe" "' + gui . App . dataPath + '\\vlc_playlist.m3u"' ) ;
187187 } ) ;
188188 } ) ;
189189 }
You can’t perform that action at this time.
0 commit comments