#!/bin/bash libnslversion="2.27" debpkg="libjack-jackd2-0_1.9.12~dfsg-2_amd64.deb" debpkg2="libc6_2.27-3ubuntu1.6_amd64.deb" #Download building tools. if [[ -f /usr/bin/curl ]] then if [[ -f pkg2appimage-x86_64.AppImage ]] then echo "pkg2appimage-x86_64.AppImage found." else curl --tlsv1.3 --output "$PWD/pkg2appimage-x86_64.AppImage" --url "https://github.com/AppImage/pkg2appimage/releases/download/continuous/pkg2appimage-x86_64.AppImage" #Make sure pkg2appimage is available. if [[ -f pkg2appimage-x86_64.AppImage ]] then echo "pkg2appimage-x86_64.AppImage found." else echo "failed to download pkg2appimage-x86_64.AppImage" && exit 1 fi fi else echo "please install curl." && exit 1 fi if [[ -f appimagetool-x86_64.AppImage ]] then echo "appimagetool-x86_64.AppImage found." else curl --tlsv1.3 --output "$PWD/appimagetool-x86_64.AppImage" --url "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" #Make sure appimagetool is available. if [[ -f appimagetool-x86_64.AppImage ]] then echo "appimagetool-x86_64.AppImage found." else echo "failed to download appimagetool-x86_64.AppImage" && exit 1 fi fi #Make exec. chmod +x pkg2appimage-x86_64.AppImage chmod +x appimagetool-x86_64.AppImage #Create BlueRecorder.yml file. echo "create BlueRecorder.yml" cat > BlueRecorder.yml < blue-recorder.desktop <