From: Uwe Hermann Date: Tue, 15 Aug 2017 20:52:54 +0000 (+0200) Subject: macosx: Set $SIGROK_FIRMWARE_DIR environment variable. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=9a158f6f88b36139ffe06277732e9bc52a5f6b4b;p=sigrok-util.git 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). --- 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