1
0
Fork 0

[Scripts] Maybe make unzip work?

This commit is contained in:
Kitteh 2018-10-27 17:47:45 +01:00
parent 7f3377782f
commit 4bed571599
2 changed files with 12 additions and 6 deletions

6
.gitignore vendored
View file

@ -12,3 +12,9 @@ Makefile
linuxdeploy* linuxdeploy*
other_libs other_libs
sffmpeg sffmpeg
*.qmake.stash
*.qmlc
*.jsc
src_qml*
qmlcache*
qrc_src*

View file

@ -33,11 +33,11 @@ cp /usr/bin/appimageupdatetool appdir/usr/bin
cp -f /usr/lib/*/libjack.so.0 appdir/usr/lib cp -f /usr/lib/*/libjack.so.0 appdir/usr/lib
sudo pip3 install pyinstaller sudo pip3 install pyinstaller || true
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O ytdl.zip sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O ytdl.zip || true
unzip ytdl.zip unzip ytdl.zip || true
pyinstaller __main__.py -n youtube-dl --onefile pyinstaller __main__.py -n youtube-dl --onefile || true
cp dist/youtube-dl appdir/usr/bin cp dist/youtube-dl appdir/usr/bin || true
export UPD_INFO="gh-releases-zsync|NamedKitten|KittehPlayer|continuous|KittehPlayer-$ARCH.AppImage.zsync" export UPD_INFO="gh-releases-zsync|NamedKitten|KittehPlayer|continuous|KittehPlayer-$ARCH.AppImage.zsync"
./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --output appimage -v 3 ./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --output appimage -v 3