Edit mode prep (#2370)

* remove edit mode

* small rename

* update with compat with old edit mode

* exit edit mode still needed

* add log to export
This commit is contained in:
Kurt Hutten
2024-05-21 05:55:34 +10:00
committed by GitHub
parent 031b230690
commit d73339fd8d
5 changed files with 33 additions and 8 deletions

View File

@ -273,6 +273,8 @@ const part001 = startSketchOn('-XZ')
for (let { modelPath, imagePath, outputType } of exportLocations) {
// May change depending on the file being dealt with
let cliCommand = `export ZOO_TOKEN=${secrets.snapshottoken} && zoo file snapshot --output-format=png --src-format=${outputType} ${modelPath} ${imagePath}`
const fileSize = (await fsp.stat(modelPath)).size
console.log(`Size of the file at ${modelPath}: ${fileSize} bytes`)
const parentPath = path.dirname(modelPath)