Fix recording ENOENT: try absolute ffmpeg paths before bare 'ffmpeg'

ffmpegPath() short-circuited on the bare 'ffmpeg' candidate, so the absolute
Homebrew/system paths were never checked. From a terminal PATH covers it, but
the packaged app launched from Finder has a minimal PATH: stopping a
recording failed with 'spawn ffmpeg ENOENT'. Absolute candidates now win;
bare 'ffmpeg' is the last resort.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XVMQ2JhsJ77pGKqcvvFHqc
This commit is contained in:
lucianoandClaude Fable 5 committed 2026-09-08 17:34:51 +02:00
1 parent 777f7ff09d
commit 4dfa0fc993
2 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dj-visualizer",
"version": "1.8.0",
"version": "1.8.1",
"description": "Audio-reactive fractal & abstract visualizer for external display (Mac)",
"main": "main.js",
"author": {