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).
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