From ff72976baef224cc014a2697fd0e99adc2694330 Mon Sep 17 00:00:00 2001 From: sudacode Date: Sun, 22 Mar 2026 20:17:07 -0700 Subject: [PATCH] test: stub launcher youtube deps in failing case --- launcher/main.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/launcher/main.test.ts b/launcher/main.test.ts index fe23b91..42352cf 100644 --- a/launcher/main.test.ts +++ b/launcher/main.test.ts @@ -415,6 +415,10 @@ ${bunBinary} -e "const net=require('node:net'); const fs=require('node:fs'); con 'utf8', ); fs.chmodSync(path.join(binDir, 'mpv'), 0o755); + fs.writeFileSync(path.join(binDir, 'yt-dlp'), '#!/bin/sh\nexit 0\n', 'utf8'); + fs.writeFileSync(path.join(binDir, 'ffmpeg'), '#!/bin/sh\nexit 0\n', 'utf8'); + fs.chmodSync(path.join(binDir, 'yt-dlp'), 0o755); + fs.chmodSync(path.join(binDir, 'ffmpeg'), 0o755); const env = { ...makeTestEnv(homeDir, xdgConfigHome),