export APP var in IBControllerGatewayStart-OSX.sh by tchklovski · Pull Request #128 · ib-controller/ib-controller
Yes, sorry this has been hanging around for awhile.
I have actually fixed this locally, and a couple of other things, but just haven't pushed the commits to master yet. There are also some other changes to the macOS scripts to do, and some code changes and documentation updates, so I'll probably just push the whole lot and a new release when that's all done.