Fix local AI checks and consent caching
Build and publish static assets / publish (push) Failing after 4s

This commit is contained in:
Ein Anderssono
2026-10-19 12:03:41 +02:00
parent 73c0c0b8ba
commit 9a71195d62
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ for (const file of voiceFiles) {
const downloaded = join(output, 'voices', file.path);
if ((await stat(downloaded)).size !== file.size) throw new Error(`Missing verified voice file: ${file.path}`);
}
console.log(`Static Piper assets prepared at ${output}`);
console.log(`Static voice and local AI assets prepared at ${output}`);
async function downloadVerified(url, destination, expectedSize, expectedSha256) {
await mkdir(join(destination, '..'), {recursive: true});