diff --git a/.github/ISSUE_TEMPLATE/app-request.md b/.github/ISSUE_TEMPLATE/app-request.md index 53c6c4d..61e595c 100644 --- a/.github/ISSUE_TEMPLATE/app-request.md +++ b/.github/ISSUE_TEMPLATE/app-request.md @@ -7,8 +7,10 @@ assignees: '' --- -Can this app run on RPi? If so, please provide a link to a tutorial if applicable. -Is this app something many GUI users would find useful? -Is this app installable with `sudo apt install`? +Can this app run on RPi? If so, please provide a link to a tutorial if applicable. + +Is this app something many GUI users would find useful? + +Is this app installable with `sudo apt install`? If you've created a zip file for this app, upload it here. diff --git a/apps/Box86/uninstall b/apps/Box86/uninstall index 2b3d10d..428a558 100755 --- a/apps/Box86/uninstall +++ b/apps/Box86/uninstall @@ -1,5 +1,7 @@ #!/bin/bash +DIRECTORY="$(dirname "$(dirname "$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )")")" + function error { echo -e "\\e[91m$1\\e[39m" exit 1 @@ -26,11 +28,10 @@ if [ ! -z "$(file "$(readlink -f "/sbin/init")" | grep 64)" ]; then "${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1 - sudo dpkg --remove-architecture armhf || warning "Failed to remove armhf architecture.\nMost likely, you already had other armhf packages installed prior to this." + sudo dpkg --remove-architecture armhf || warning "armhf architecture should be removed by now, but it isn't!" check-armhf if [[ "$ARMHF" == *"armhf"* ]]; then - warning "armhf architecture should be removed by now, but it isn't!" - warning "You probably have some other programs using it, remove it by running 'sudo dpkg --remove-architecture armhf'." + warning "You probably have some other programs using it, remove it by running 'sudo dpkg --remove-architecture armhf'." fi elif [ ! -z "$(file "$(readlink -f "/sbin/init")" | grep 32)" ]; then @@ -41,4 +42,4 @@ else fi echo "running 'sudo apt update'..." -sudo apt update \ No newline at end of file +sudo apt update diff --git a/apps/Wine (x86)/install-32 b/apps/Wine (x86)/install-32 index a6f30e4..dbe09c5 100755 --- a/apps/Wine (x86)/install-32 +++ b/apps/Wine (x86)/install-32 @@ -102,7 +102,7 @@ elif echo "$vmsplit_output" | grep -q "^CONFIG_VMSPLIT_2G=y" || echo "$vmsplit_o [ -e ~/linux ] && (echo "$HOME/linux already exists, moving it to $HOME/linux.bak" ; mv -f ~/linux ~/linux.bak) #download precompiled kernel echo "Downloading precompiled kernel..." - wget https://github.com/Itai-Nelken/RPi-3g-1g-kernel-wine/releases/download/3/rpi23_3g1g_kernel.tar.xz -O ~/3g1g-rpi-kernel.tar.xz || error "Failed to download prebuilt kernel!" + wget https://github.com/Itai-Nelken/RPi-3g-1g-kernel-wine/releases/download/4/rpi23_3g1g_kernel.tar.xz -O ~/3g1g-rpi-kernel.tar.xz || error "Failed to download prebuilt kernel!" #extract precompiled kernel echo "Extracting prebuilt kernel..." tar -xf ~/3g1g-rpi-kernel.tar.xz || error "Failed to extract kernel!"