gfx pack downloading
This commit is contained in:
parent
d314010562
commit
091e983386
@ -18,6 +18,8 @@ function downloadlatest {
|
|||||||
wget -q --show-progress -O cemutemp.zip $(curl -s http://cemu.info |grep .zip |awk -F '"' {'print $2'})
|
wget -q --show-progress -O cemutemp.zip $(curl -s http://cemu.info |grep .zip |awk -F '"' {'print $2'})
|
||||||
echo "Downloading latest cemuhook"
|
echo "Downloading latest cemuhook"
|
||||||
wget -q --show-progress -O cemuhooktemp.zip $(curl -s https://cemuhook.sshnuke.net |grep .zip |awk -F '"' NR==2{'print $2'})
|
wget -q --show-progress -O cemuhooktemp.zip $(curl -s https://cemuhook.sshnuke.net |grep .zip |awk -F '"' NR==2{'print $2'})
|
||||||
|
echo "Downloading latest cemuhook"
|
||||||
|
wget -q --show-progress -O gfxpacktemp.zip https://github.com$(curl https://github.com/slashiee/cemu_graphic_packs/releases |grep graphicPacks |awk -F '"' NR==1{'print $2'})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,6 +107,10 @@ echo "Extracting zips"
|
|||||||
mkdir -p $instdir
|
mkdir -p $instdir
|
||||||
bsdtar -xf "$cemuzip" -s'|[^/]*/||' -C $instdir
|
bsdtar -xf "$cemuzip" -s'|[^/]*/||' -C $instdir
|
||||||
unzip -q -o "$cemuhookzip" -d $instdir
|
unzip -q -o "$cemuhookzip" -d $instdir
|
||||||
|
if [ -f "gfxpacktemp.zip" ]; then
|
||||||
|
unzip -q -o gfxpacktemp.zip -d $instdir/graphicPacks
|
||||||
|
rm -rf gfxpacktemp.zip
|
||||||
|
fi
|
||||||
#Delete downloaded zips if applicable
|
#Delete downloaded zips if applicable
|
||||||
if [ -f "cemutemp.zip" ]; then
|
if [ -f "cemutemp.zip" ]; then
|
||||||
rm -rf cemutemp.zip
|
rm -rf cemutemp.zip
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user