From 4aa21adccfa5a56ea57f2a0e7b8b6c139af9d232 Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Fri, 20 Dec 2024 13:12:12 +0100 Subject: [PATCH] Try packaging ffmpeg better --- mac.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mac.spec b/mac.spec index 415cc20294..db7a19bed6 100644 --- a/mac.spec +++ b/mac.spec @@ -3,6 +3,8 @@ import subprocess block_cipher = None +# default PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Applications/TauonMusicBox.app/Contents/Frameworks + # Should resolve as /opt/homebrew prefix = subprocess.run(["brew", "--prefix"], capture_output=True, text=True).stdout.strip() @@ -22,7 +24,8 @@ a = Analysis( binaries=[ *lib_paths, (phazor_path, "."), - (f"{prefix}/Cellar/ffmpeg", "."), +# (f"{prefix}/Cellar/ffmpeg", "."), + (f"{prefix}/bin/ffmpeg", "."), ], datas=[ ("src/tauon/assets", "assets"),