Merge pull request #110 from GilgusMaximus/master

Fixing missing storyboards when using installation
This commit is contained in:
Preston 2020-08-31 14:19:32 -04:00 committed by GitHub
commit 1a893d3e27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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}`
}