Fix links.
This commit is contained in:
parent
c178737710
commit
3f4baf6165
|
@ -45,7 +45,7 @@ main() {
|
|||
'Worlds Organizer')
|
||||
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"
|
||||
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
|
||||
java -jar "$WORLDSDIR/WorldsOrganizer.jar" -i "$WORLDSINSTALL/gamma.avatars" -i "$WORLDSINSTALL/gamma.worldsmarks"
|
||||
main ;;
|
||||
|
@ -63,7 +63,7 @@ main() {
|
|||
'Update' )
|
||||
update | zenity --progress --no-cancel --title="$TITLE - Updating" --width=300 --height=50 --auto-close --auto-kill;;
|
||||
'Open Github page' )
|
||||
xdg-open "https://github.com/Vencorr/Worlds-LinuxScript"
|
||||
xdg-open "https://git.worlio.com/Wirlaburla/WorldsLinuxWrapper"
|
||||
main ;;
|
||||
esac
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ cache () {
|
|||
}
|
||||
|
||||
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"
|
||||
touch "$UPDATEFILE"
|
||||
echo "wget -N -O\"$WORLDSDIR/launch.sh\" \"$NEWLAUNCHFILE\"" >> "$UPDATEFILE"
|
||||
|
|
|
@ -114,7 +114,7 @@ downloadVersion () {
|
|||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,7 @@ worlds () {
|
|||
}
|
||||
|
||||
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"
|
||||
rm "$WORLDSDIR/wrldslinux"
|
||||
echo "# Configuration for Worlds on Linux." > "$WORLDSDIR/wrldslinux"
|
||||
|
@ -147,7 +147,7 @@ launchscript () {
|
|||
}
|
||||
|
||||
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.
|
||||
while read line
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue
Block a user