Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
Add msg that the automatic dependency installer is deprecated, linkin…
Browse files Browse the repository at this point in the history
…g to the projects github wiki page
  • Loading branch information
Alexmitter committed Dec 25, 2019
1 parent 3415a3c commit 802c98a
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ checkifnewversion()

function NewDepInstaller
{
HEIGHT=15
WIDTH=40
HEIGHT=25
WIDTH=95
CHOICE_HEIGHT=4
BACKTITLE="osu lazer installer"
TITLE="Depinstaller"
MENU="Choose one of the following options:"
MENU="Warning, this style of installing the dependencies is deprecated.
I will likely remove it in a future update as it is not really maintainable due to
changes from ppy regarding the wanted dotnet core version and how Microsoft handles their apt repo
Look on https://github.com/Alexmitter/osu-lazer-linux-installer/wiki/Manual-Dependency-install"

OPTIONS=(1 "Ubuntu 18.04"
2 "Ubuntu 16.04"
Expand Down Expand Up @@ -46,7 +49,7 @@ function NewDepInstaller
;;
*)
echo "Error: Distribution not selected"
exit 1
bash start.sh
;;

esac
Expand Down Expand Up @@ -76,14 +79,14 @@ OPTIONS=(1 "English"
3 "Italiano"
4 "Deutsch")

CHOICE=$(dialog --clear \
--backtitle "$BACKTITLE" \
--title "$TITLE" \
--menu "$MENU" \
$HEIGHT $WIDTH $CHOICE_HEIGHT \
"${OPTIONS[@]}" \
2>&1 >/dev/tty)

#CHOICE=$(dialog --clear \
# --backtitle "$BACKTITLE" \
# --title "$TITLE" \
# --menu "$MENU" \
# $HEIGHT $WIDTH $CHOICE_HEIGHT \
# "${OPTIONS[@]}" \
# 2>&1 >/dev/tty)
CHOICE=1;
clear
case $CHOICE in
1)
Expand Down

0 comments on commit 802c98a

Please sign in to comment.