diff --git a/apps/FreeTube/install-32 b/apps/FreeTube/install-32 index 4efb57d..82cd514 100755 --- a/apps/FreeTube/install-32 +++ b/apps/FreeTube/install-32 @@ -9,10 +9,10 @@ function error { #Downloading Deb File For FreeTube rm -f ~/freetube.deb -wget https://archive.org/download/freetube_0.13.2_arm64/freetube_0.13.2_armhf.deb -O ~/freetube.deb || error "Failed to download freetube.deb!" +wget -O ~/freetube.deb https://archive.org/download/freetube_0.13.2_arm64/freetube_0.13.2_armhf.deb || error "Failed to download freetube.deb!" #Installing FreeTube -sudo apt install -y --fix-missing ~/freetube.deb || error "APT failed to install freetube.deb!" +"${DIRECTORY}/pkg-install" "$HOME/freetube.deb" "$(dirname "$0")" || error "APT failed to install freetube.deb!" #Removing Deb File rm -f ~/freetube.deb diff --git a/apps/FreeTube/install-64 b/apps/FreeTube/install-64 index 38bdcc8..0174aa7 100755 --- a/apps/FreeTube/install-64 +++ b/apps/FreeTube/install-64 @@ -9,10 +9,10 @@ function error { #Downloading Deb File For FreeTube rm -f ~/freetube.deb -wget https://archive.org/download/freetube_0.13.2_arm64/freetube_0.13.2_arm64.deb -O ~/freetube.deb || error "Failed to download freetube.deb!" +wget -O ~/freetube.deb https://archive.org/download/freetube_0.13.2_arm64/freetube_0.13.2_arm64.deb || error "Failed to download freetube.deb!" #Installing FreeTube -sudo apt install -y --fix-missing ~/freetube.deb || error "APT failed to install freetube.deb!" +"${DIRECTORY}/pkg-install" "$HOME/freetube.deb" "$(dirname "$0")" || error "APT failed to install freetube.deb!" #Removing Deb File rm -f ~/freetube.deb diff --git a/apps/FreeTube/uninstall b/apps/FreeTube/uninstall index f02b291..80ea36a 100755 --- a/apps/FreeTube/uninstall +++ b/apps/FreeTube/uninstall @@ -7,7 +7,5 @@ function error { exit 1 } - #Uninstalling FreeTube -sudo apt -y purge freetube || error "Failed to uninstall lightpad" -sudo apt -y autoremove +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1