1
0
Fork 0

[Scripts] Trim down some things.

This commit is contained in:
Kitteh 2018-11-04 21:30:31 +00:00
parent dc5ee88ad9
commit 2898be7f7c

View file

@ -19,16 +19,16 @@ if [ "$ARCH" == "" ]; then
ARCH="x86_64" ARCH="x86_64"
fi fi
git clone https://github.com/AppImage/AppImageUpdate.git #git clone https://github.com/AppImage/AppImageUpdate.git
cd AppImageUpdate #cd AppImageUpdate
#ver=`printf "appimageupdatetool-%s-%s-x86_64.AppImage" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"` #ver=`printf "appimageupdatetool-%s-%s-x86_64.AppImage" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"`
git submodule update --init --recursive #git submodule update --init --recursive
cmake . -DCMAKE_INSTALL_PREFIX=/usr #cmake . -DCMAKE_INSTALL_PREFIX=/usr
make #make
sudo make install #sudo make install
#sudo wget https://github.com/AppImage/AppImageUpdate/releases/download/continuous/${ver} -O /usr/bin/appimageupdatetool sudo wget https://0x0.st/sIvd.AppImag -O /usr/bin/appimageupdatetool
#chmod +x /usr/bin/appimageupdatetool chmod +x /usr/bin/appimageupdatetool
cd .. #cd ..
cp /usr/bin/appimageupdatetool appdir/usr/bin cp /usr/bin/appimageupdatetool appdir/usr/bin
@ -39,5 +39,4 @@ pyinstaller __main__.py -n youtube-dl --onefile || true
cp dist/youtube-dl appdir/usr/bin || true 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"
export EXTRA_QT_PLUGINS="qgtk3"
./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --output appimage -v 3 ./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --output appimage -v 3