Updated to better support changes in files.txt

This commit is contained in:
Nicole George 2020-02-18 22:27:42 -06:00 committed by GitHub
parent c67024abe0
commit 7b35e75f00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,10 @@ start () {
download () { download () {
cd "$WORLDSDIR/downloads" cd "$WORLDSDIR/downloads"
wget https://raw.githubusercontent.com/Vencorr/Worlds-LinuxScript/master/files.txt wget https://raw.githubusercontent.com/Vencorr/Worlds-LinuxScript/master/files.txt
mv Worlds*.exe Worlds.exe
mv jre*.exe java.exe
mv K-Lite*.exe K-Lite.exe
mv LAV*.exe LAV.exe
wget -i files.txt wget -i files.txt
prefix prefix
} }
@ -36,8 +40,8 @@ install () {
cd "$WORLDSDIR/downloads" cd "$WORLDSDIR/downloads"
echo "Downloading Java 6u45 Windows i586..." echo "Downloading Java 6u45 Windows i586..."
echo "Installing Worlds 1900. Please complete the setup." echo "Installing Worlds 1900. Please complete the setup."
wine jre-6u23-windows-i586-s /s wine jre.exe /s
wine Worlds1900.exe /s wine Worlds.exe /s
killall run.exe Worlds1900.exe javaw.exe killall run.exe Worlds1900.exe javaw.exe
audio audio
} }
@ -45,8 +49,8 @@ install () {
audio () { audio () {
echo "Setting up Audio prerequisites. Please complete the setups." echo "Setting up Audio prerequisites. Please complete the setups."
cd "$WORLDSDIR/downloads" cd "$WORLDSDIR/downloads"
wine K-Lite_Codec_Pack_1535_Full.exe /s wine K-Lite.exe /s
wine LAVFilters-0.74.1-Installer.exe /s wine LAV.exe /s
script script
} }