From 9a158f6f88b36139ffe06277732e9bc52a5f6b4b Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 15 Aug 2017 22:52:54 +0200 Subject: [PATCH] macosx: Set $SIGROK_FIRMWARE_DIR environment variable. This allows the .app/DMG to properly find its firmware files. In addition to the files it ships with, libsigrok will still search all the usual paths for firmware files (if needed). I.e., the user can place additional firmware files in local paths (see libsigrok's README.devices). --- cross-compile/macosx/contrib/pulseview | 1 + 1 file changed, 1 insertion(+) diff --git a/cross-compile/macosx/contrib/pulseview b/cross-compile/macosx/contrib/pulseview index e97e3f0..766663d 100755 --- a/cross-compile/macosx/contrib/pulseview +++ b/cross-compile/macosx/contrib/pulseview @@ -21,5 +21,6 @@ DIR="$(dirname "$0")" cd "$DIR" export PYTHONHOME="../Frameworks/Python.framework/Versions/3.6" +export SIGROK_FIRMWARE_DIR="../share/sigrok-firmware" export SIGROKDECODE_DIR="../share/libsigrokdecode/decoders" ./pulseview.real -- 2.30.2