blob: 059b19354c32697afa26c77472aeeeda1349ad6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
DEST="$HOME/.config/qb64pe-3.8.0"
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-3.8.0/QB64pe-3.8.0.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 "$@" &
|