#!/bin/sh VERSION=3.14.1 DEST="$HOME/.config/qb64pe-$VERSION" if [ ! -d $DEST ] then notify-send "Setting up $DEST workspace for first run, please be patient..." CWD=`pwd` mkdir -p $DEST cd $DEST tar xvfz /usr/src/qb64pe-$VERSION/QB64pe-$VERSION.tar.gz --strip-components=1 rm $DEST/internal/version.txt make clean OS=lnx make OS=lnx BUILD_QB64=y -j1 rm -rf run_qb64pe.sh ln -s /usr/bin/qb64pe-launcher run_qb64pe.sh rm -rf .ci rm -rf .github rm -rf .gitignore rm -rf .clang-format rm -rf setup_* rm -rf qb64pe.1 cd $CWD fi $DEST/qb64pe "$@" &