fix: yt-dlp exiting with code 2 on macos

This commit is contained in:
2025-11-07 00:05:05 +05:30
parent 9381a3dba8
commit defdfd6fd1
8 changed files with 100 additions and 101 deletions

View File

@@ -309,7 +309,7 @@ export default function App({ children }: { children: React.ReactNode }) {
];
if (currentPlatform === 'macos') {
args.push('--ffmpeg-location', '/Applications/NeoDLP.app/Contents/MacOS', '--js-runtimes deno:/Applications/NeoDLP.app/Contents/MacOS/deno');
args.push('--ffmpeg-location', '/Applications/NeoDLP.app/Contents/MacOS', '--js-runtimes', 'deno:/Applications/NeoDLP.app/Contents/MacOS/deno');
}
if (!DEBUG_MODE || (DEBUG_MODE && !LOG_WARNING)) {