Fix links.

This commit is contained in:
Wirlaburla 2023-05-08 14:56:42 -05:00
parent c178737710
commit 3f4baf6165
2 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@ main() {
'Worlds Organizer') 'Worlds Organizer')
if [[ ! -f "$WORLDSDIR/WorldsOrganizer.jar" ]]; then if [[ ! -f "$WORLDSDIR/WorldsOrganizer.jar" ]]; then
zenity --info --text="The launcher will now download WorldsOrganizer using wget and run it." --width=280 --height=40 --title="$TITLE - WorldsOrganizer" --window-icon="$WORLDSDIR/icon.png" zenity --info --text="The launcher will now download WorldsOrganizer using wget and run it." --width=280 --height=40 --title="$TITLE - WorldsOrganizer" --window-icon="$WORLDSDIR/icon.png"
wget -O"$WORLDSDIR/WorldsOrganizer.jar" "https://wirlaburla.com/WorldsOrganizer/dw/0.9.64/WorldsOrganizer-linux.jar" | zenity --progress --no-cancel --title="$TITLE - Downloading WorldsOrganizer" --width=300 --height=50 --auto-close --auto-kill wget -O"$WORLDSDIR/WorldsOrganizer.jar" "https://git.worlio.com/attachments/9c9bc3bf-c5c0-40bc-a26d-ce38556fe05d" | zenity --progress --no-cancel --title="$TITLE - Downloading WorldsOrganizer" --width=300 --height=50 --auto-close --auto-kill
fi fi
java -jar "$WORLDSDIR/WorldsOrganizer.jar" -i "$WORLDSINSTALL/gamma.avatars" -i "$WORLDSINSTALL/gamma.worldsmarks" java -jar "$WORLDSDIR/WorldsOrganizer.jar" -i "$WORLDSINSTALL/gamma.avatars" -i "$WORLDSINSTALL/gamma.worldsmarks"
main ;; main ;;
@ -63,7 +63,7 @@ main() {
'Update' ) 'Update' )
update | zenity --progress --no-cancel --title="$TITLE - Updating" --width=300 --height=50 --auto-close --auto-kill;; update | zenity --progress --no-cancel --title="$TITLE - Updating" --width=300 --height=50 --auto-close --auto-kill;;
'Open Github page' ) 'Open Github page' )
xdg-open "https://github.com/Vencorr/Worlds-LinuxScript" xdg-open "https://git.worlio.com/Wirlaburla/WorldsLinuxWrapper"
main ;; main ;;
esac esac
} }
@ -183,7 +183,7 @@ cache () {
} }
update () { update () {
NEWLAUNCHFILE="https://gitlab.com/Vencorr/Worlds-LinuxScript/-/raw/master/launch.sh" NEWLAUNCHFILE="https://git.worlio.com/Wirlaburla/WorldsLinuxWrapper/raw/branch/master/launch.sh"
UPDATEFILE="$WORLDSDIR/.update.sh" UPDATEFILE="$WORLDSDIR/.update.sh"
touch "$UPDATEFILE" touch "$UPDATEFILE"
echo "wget -N -O\"$WORLDSDIR/launch.sh\" \"$NEWLAUNCHFILE\"" >> "$UPDATEFILE" echo "wget -N -O\"$WORLDSDIR/launch.sh\" \"$NEWLAUNCHFILE\"" >> "$UPDATEFILE"

View File

@ -114,7 +114,7 @@ downloadVersion () {
} }
java () { java () {
wget -O"$WORLDSDIR/JavaInstaller.exe" "http://users.worldsonline.com/jimbly/java/jre-6u23-windows-i586-s.exe" 2>&1 | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9.]\+.\) \(.*\)/\1\n# Downloading at \2\/s, ETA \3/' | zenity --progress --title="$WTITLE - Downloading Java 6" --text="Starting Download..." --width=300 --height=50 --auto-close --auto-kill wget -O"$WORLDSDIR/JavaInstaller.exe" "https://wirlaburla.worlio.com/pub/java/jre-6u45-windows-i586.exe" 2>&1 | sed -u 's/.* \([0-9]\+%\)\ \+\([0-9.]\+.\) \(.*\)/\1\n# Downloading at \2\/s, ETA \3/' | zenity --progress --title="$WTITLE - Downloading Java 6" --text="Starting Download..." --width=300 --height=50 --auto-close --auto-kill
$WINE "$WORLDSDIR/JavaInstaller.exe" /s 2>&1 | zenity --title="$WTITLE - Installing Java" --progress --pulsate --auto-close --width=300 --height=50 --auto-kill $WINE "$WORLDSDIR/JavaInstaller.exe" /s 2>&1 | zenity --title="$WTITLE - Installing Java" --progress --pulsate --auto-close --width=300 --height=50 --auto-kill
} }
@ -132,7 +132,7 @@ worlds () {
} }
launchscript () { launchscript () {
wget -O"$WORLDSDIR/launch.sh" "https://github.com/Wirlaburla/Worlds-LinuxScript/blob/master/launch.sh" wget -O"$WORLDSDIR/launch.sh" "https://git.worlio.com/Wirlaburla/WorldsLinuxWrapper/raw/branch/master/launch.sh"
wget -qO- "http://www.worlds.net/favicon.ico" | convert - "$WORLDSDIR/icon.png" wget -qO- "http://www.worlds.net/favicon.ico" | convert - "$WORLDSDIR/icon.png"
rm "$WORLDSDIR/wrldslinux" rm "$WORLDSDIR/wrldslinux"
echo "# Configuration for Worlds on Linux." > "$WORLDSDIR/wrldslinux" echo "# Configuration for Worlds on Linux." > "$WORLDSDIR/wrldslinux"
@ -147,7 +147,7 @@ launchscript () {
} }
menufile () { menufile () {
wget -O"$WORLDSDIR/worlds.desktop" "https://github.com/Wirlaburla/Worlds-LinuxScript/blob/master/worlds.desktop" wget -O"$WORLDSDIR/worlds.desktop" "https://git.worlio.com/Wirlaburla/WorldsLinuxWrapper/raw/branch/master/worlds.desktop"
echo "" > "$HOME/.local/share/applications/worlds.desktop" #Making sure the file is clear. echo "" > "$HOME/.local/share/applications/worlds.desktop" #Making sure the file is clear.
while read line while read line
do do