try to fix script

pull/2263/head
Mikael Finstad 2024-12-06 18:24:30 +08:00
rodzic ca8eccf899
commit de75dc0821
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 25AB36E3E81CBC26
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -15,7 +15,7 @@ assert(screenshotOutPath);
const port = 8081;
const ps = execa(losslessCutExePath, ['--http-api', String(port)]);
const ps = execa(losslessCutExePath, ['--http-api', String(port)], { forceKillAfterDelay: 10000 });
console.log('Started', losslessCutExePath);
@ -66,6 +66,7 @@ try {
await client.post('api/action/quit').text();
} catch (err) {
console.warn('Quit command failed', err);
ps.kill();
}
} finally {
// ps.cancel();