Check if local temp file, if not, make one
This commit is contained in:
parent
79b099b058
commit
20930513f9
2
v2f.js
2
v2f.js
|
@ -40,7 +40,7 @@ function convert (path, dpi) {
|
||||||
console.log(`Converting ${file}...`)
|
console.log(`Converting ${file}...`)
|
||||||
console.log(`Exporting all frames with aspect ratio: ${dim.w / dim.h} ...`)
|
console.log(`Exporting all frames with aspect ratio: ${dim.w / dim.h} ...`)
|
||||||
|
|
||||||
fs.mkdirSync(_tmp)
|
if (!fs.existsSync(_tmp)) fs.mkdirSync(_tmp)
|
||||||
|
|
||||||
exec(execStr, (ste, std) => {
|
exec(execStr, (ste, std) => {
|
||||||
if (ste) {
|
if (ste) {
|
||||||
|
|
Loading…
Reference in New Issue