aboutsummaryrefslogtreecommitdiff
path: root/development/qb64pe/qb64pe-launcher
diff options
context:
space:
mode:
Diffstat (limited to 'development/qb64pe/qb64pe-launcher')
-rw-r--r--development/qb64pe/qb64pe-launcher23
1 files changed, 23 insertions, 0 deletions
diff --git a/development/qb64pe/qb64pe-launcher b/development/qb64pe/qb64pe-launcher
new file mode 100644
index 0000000000000..059b19354c326
--- /dev/null
+++ b/development/qb64pe/qb64pe-launcher
@@ -0,0 +1,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 "$@" &