From 6bf148514e0a9a46b1a63fe17e21c2a8b9a8f95c Mon Sep 17 00:00:00 2001 From: sudacode Date: Sun, 22 Mar 2026 20:12:59 -0700 Subject: [PATCH] test: stub launcher youtube deps in CI --- launcher/main.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/launcher/main.test.ts b/launcher/main.test.ts index e03e1d8..1d78918 100644 --- a/launcher/main.test.ts +++ b/launcher/main.test.ts @@ -257,6 +257,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),