From 1d76236d6f94cc3f0c3cdc18e52fdd6434a04f2e Mon Sep 17 00:00:00 2001 From: Kitteh Date: Wed, 7 Nov 2018 20:27:56 +0000 Subject: [PATCH] [Scripts] Remove unneeded stuff from appimage script. --- scripts/makeappimage.sh | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/scripts/makeappimage.sh b/scripts/makeappimage.sh index b1b8c8a..de36299 100755 --- a/scripts/makeappimage.sh +++ b/scripts/makeappimage.sh @@ -7,7 +7,7 @@ export PATH="/usr/lib/ccache:/usr/lib/ccache/bin:$PATH" export QML_SOURCES_PATHS=src/qml export V=0 VERBOSE=0 -cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . +cmake -DCMAKE_INSTALL_PREFIX=/usr . make -j$(nproc) make DESTDIR=appdir -j$(nproc) install ; find appdir/ wget -nc "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" @@ -18,27 +18,11 @@ mkdir -p appdir/usr/lib if [ "$ARCH" == "" ]; then ARCH="x86_64" fi - -#git clone https://github.com/AppImage/AppImageUpdate.git -#cd AppImageUpdate -#ver=`printf "appimageupdatetool-%s-%s-x86_64.AppImage" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"` -#git submodule update --init --recursive -#cmake . -DCMAKE_INSTALL_PREFIX=/usr -#make -#sudo make install -wget https://0x0.st/sIvd.AppImag -O appdir/usr/bin/appimageupdatetool +wget $(curl -s https://api.github.com/repos/AppImage/AppImageUpdate/releases | grep browser_download_url | grep x86_64.AppImage | grep appimageupdatetool | grep -v zsync | cut -d'"' -f4) -O appdir/usr/bin/appimageupdatetool chmod +x appdir/usr/bin/appimageupdatetool -#cd .. -#cp /usr/bin/appimageupdatetool appdir/usr/bin - -#sudo pip3 install pyinstaller || true wget https://yt-dl.org/downloads/latest/youtube-dl -O appdir/usr/bin/youtube-dl chmod +x appdir/usr/bin/youtube-dl -#|| true -#unzip ytdl.zip || true -#pyinstaller __main__.py -n youtube-dl --onefile || true -#cp dist/youtube-dl appdir/usr/bin || true export UPD_INFO="gh-releases-zsync|NamedKitten|KittehPlayer|continuous|KittehPlayer-$ARCH.AppImage.zsync" time ./linuxdeploy-x86_64.AppImage --appdir appdir --plugin qt --output appimage -v 3