From 0c2109dd2d9c66f45833411f6bb8e70c641ec2db Mon Sep 17 00:00:00 2001 From: Nicholas George Date: Mon, 13 Jan 2020 22:33:45 +0000 Subject: [PATCH] Added java password dialog --- install-worlds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-worlds.sh b/install-worlds.sh index 5c2463e..c5bbc7c 100644 --- a/install-worlds.sh +++ b/install-worlds.sh @@ -22,7 +22,7 @@ install () { mkdir -p "$DIR/downloads" cd "$DIR/downloads" echo "Downloading Java 6u45 Windows i586..." - wget --user=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-entry="Email") --ask-password https://download.oracle.com/otn/java/jdk/6u45-b06/jre-6u45-windows-i586.exe + wget --user=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-entry="Email") --password=$(zenity --forms --title="Oracle Login" --text="An Oracle account is required to download the installer" --add-password="Password") https://download.oracle.com/otn/java/jdk/6u45-b06/jre-6u45-windows-i586.exe if ! [ -f "$DIR/downloads/jre-6u45-windows-i586.exe" ]; then echo "JRE6 installer not found! Aborting!" exit 1