blob: 069b56894079f6cb9132d5348ea5857e1a1b5c3d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
VERSION=3.9.0
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
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 "$@" &
|