use vcsi in venv
This commit is contained in:
parent
b01c462582
commit
8a1597a6c8
@ -26,7 +26,7 @@ async function createThumbnail(helpers: Helpers, inputFilePath: string) {
|
||||
await preparePython()
|
||||
const outputFilePath = inputFilePath.replace(/\.[^/.]+$/, '') + '-thumb.png';
|
||||
const spawn = await getNanoSpawn();
|
||||
const result = await spawn('vcsi', [
|
||||
const result = await spawn('./venv/bin/vcsi', [
|
||||
inputFilePath,
|
||||
'--metadata-position', 'hidden',
|
||||
'--metadata-margin', '0',
|
||||
@ -45,6 +45,7 @@ async function createThumbnail(helpers: Helpers, inputFilePath: string) {
|
||||
], {
|
||||
stdout: 'inherit',
|
||||
stderr: 'inherit',
|
||||
cwd: env.APP_DIR,
|
||||
});
|
||||
|
||||
// const exitCode = await subprocess;
|
||||
|
Loading…
x
Reference in New Issue
Block a user