Skip to content

Commit

Permalink
Require helloSystem 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Oct 23, 2021
1 parent e371678 commit 64cb6b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions makebundle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ cat > ./"${APPLICATION_NAME}".app/"${APPLICATION_NAME}" <<\EOF
#!/bin/sh
EXECUTABLE=xxx
HERE="$(dirname "$(readlink -f "${0}")")"
VERSION=$(pkg show hello | head -n 1 | cut -d "-" -f 2 | cut -d "_" -f 1)
if [ "$VERSION" != "0.7.0" ] ; then
echo "helloSystem 0.7.0 is needed to run this application." >&2
exit 1
fi
export PATH="${HERE}/Resources/usr/local/sbin":"${HERE}/Resources/usr/local/bin":"${PATH}"
export XDG_DATA_DIRS="${HERE}/Resources/usr/local/share/:${XDG_DATA_DIRS}"
export QT_PLUGIN_PATH="${HERE}/Resources/usr/local/lib/qt5/plugins/:/usr/local/lib/qt5/plugins/"
Expand Down

0 comments on commit 64cb6b9

Please sign in to comment.