Check for storyboard directory when using installation
This commit is contained in:
parent
66903d8002
commit
c01d468411
|
@ -693,6 +693,9 @@ export default Vue.extend({
|
|||
fs.mkdirSync('storyboards/')
|
||||
}
|
||||
} else {
|
||||
if (!fs.existsSync(`${userData}/storyboards/`)) {
|
||||
fs.mkdirSync(`${userData}/storyboards/`)
|
||||
}
|
||||
fileLocation = `${userData}/storyboards/${this.videoId}.vtt`
|
||||
uriSchema = `file://${fileLocation}`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue