Skip to content

Commit

Permalink
corrected path formation in string to use path.join instead of '/'
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-ev committed Jan 3, 2017
1 parent a45a4d4 commit 83d3a74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/dodoc-media.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ var dodocMedia = (function() {
dev.logverbose(`Number of images in to process in ${pathToFile} is ${numberOfImagesToProcess}`);

// ask ffmpeg to make a video from the cache images
var proc = new ffmpeg({ "source" : pathToFile + '/%*.jpeg'})
var proc = new ffmpeg({ "source" : path.join(pathToFile, '%*.jpeg') })
// using 12 fps
.withFpsInput(frameRate)
.withVideoCodec('libvpx')
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function createWindow() {
height: windowState.bounds && windowState.bounds.height || 800,

backgroundColor: '#EBEBEB',
icon: __dirname + '/build/icons/512x512.png',
icon: path.join(__dirname, 'build', 'icons', '512x512.png'),
show: false,

webPreferences: {
Expand Down

0 comments on commit 83d3a74

Please sign in to comment.