use vcsi in venv
Some checks failed
ci / build (push) Failing after 0s
ci / Tests & Checks (push) Failing after 1s

This commit is contained in:
CJ_Clippy 2025-07-19 15:11:58 -08:00
parent b01c462582
commit 8a1597a6c8

View File

@ -26,7 +26,7 @@ async function createThumbnail(helpers: Helpers, inputFilePath: string) {
await preparePython() await preparePython()
const outputFilePath = inputFilePath.replace(/\.[^/.]+$/, '') + '-thumb.png'; const outputFilePath = inputFilePath.replace(/\.[^/.]+$/, '') + '-thumb.png';
const spawn = await getNanoSpawn(); const spawn = await getNanoSpawn();
const result = await spawn('vcsi', [ const result = await spawn('./venv/bin/vcsi', [
inputFilePath, inputFilePath,
'--metadata-position', 'hidden', '--metadata-position', 'hidden',
'--metadata-margin', '0', '--metadata-margin', '0',
@ -45,6 +45,7 @@ async function createThumbnail(helpers: Helpers, inputFilePath: string) {
], { ], {
stdout: 'inherit', stdout: 'inherit',
stderr: 'inherit', stderr: 'inherit',
cwd: env.APP_DIR,
}); });
// const exitCode = await subprocess; // const exitCode = await subprocess;