This commit is contained in:
dsc 2020-12-21 21:34:36 +01:00 committed by wowario
parent bb85f020d5
commit 3e10b25068
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111
106 changed files with 606 additions and 2166 deletions

View file

@ -3,16 +3,17 @@
set -e
unset SOURCE_DATE_EPOCH
APPDIR="$PWD/feather.AppDir"
APPDIR="$PWD/feather-wow.AppDir"
mkdir -p "$APPDIR"
mkdir -p "$APPDIR/usr/share/applications/"
mkdir -p "$APPDIR/usr/bin"
cp "$PWD/src/assets/feather.desktop" "$APPDIR/usr/share/applications/feather.desktop"
cp "$PWD/src/assets/images/appicons/64x64.png" "$APPDIR/feather.png"
cp "$PWD/build/bin/feather" "$APPDIR/usr/bin/feather"
cp "$PWD/src/assets/feather-wow.desktop" "$APPDIR/usr/share/applications/feather-wow.desktop"
cp "$PWD/src/assets/images/appicons/64x64.png" "$APPDIR/feather-wow.png"
cp "$PWD/build/bin/feather-wow" "$APPDIR/usr/bin/feather-wow"
LD_LIBRARY_PATH=/usr/local/lib /linuxdeployqt/squashfs-root/AppRun feather.AppDir/usr/share/applications/feather.desktop -bundle-non-qt-libs
LD_LIBRARY_PATH=/usr/local/lib /linuxdeployqt/squashfs-root/AppRun feather.AppDir/usr/share/applications/feather-wow.desktop -bundle-non-qt-libs
find feather.AppDir/ -exec touch -h -a -m -t 202101010100.00 {} \;
@ -26,7 +27,7 @@ mksquashfs feather.AppDir feather.squashfs -info -root-owned -no-xattrs -noappen
# mksquashfs writes a timestamp to the header
printf '\x00\x00\x00\x00' | dd conv=notrunc of=feather.squashfs bs=1 seek=$((0x8))
rm -f feather.AppImage
cat runtime-x86_64 >> feather.AppImage
cat feather.squashfs >> feather.AppImage
chmod a+x feather.AppImage
rm -f feather-wow.AppImage
cat runtime-x86_64 >> feather-wow.AppImage
cat feather.squashfs >> feather-wow.AppImage
chmod a+x feather-wow.AppImage

@ -1 +0,0 @@
Subproject commit e68770719ef4d3d3b83398715b1e10391ab6a1b4