fix: appimage builds

- fix missing files in AppImages

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-06-08 09:05:56 +02:00
parent 0dd7ac39c0
commit e7d892169d
2 changed files with 4 additions and 1 deletions

View File

@ -228,6 +228,7 @@ build_linux_appimage_x86:
- cp -r build/linux/x64/release/bundle appimage/FluffyChat.AppDir
- cd appimage
- cp FluffyChat.desktop FluffyChat.AppDir/
- cp AppRun FluffyChat.AppDir/
- cp ../assets/logo.svg FluffyChat.AppDir/fluffychat.svg
- appimagetool -u "zsync|https://gitlab.com/famedly/fluffychat/-/releases/permalink/latest/downloads/FluffyChat-x86_64.AppImage.zsync" FluffyChat.AppDir
allow_failure: true
@ -249,6 +250,7 @@ build_linux_appimage_arm64:
- cp -r build/linux/arm64/release/bundle appimage/FluffyChat.AppDir
- cd appimage
- cp FluffyChat.desktop FluffyChat.AppDir/
- cp AppRun FluffyChat.AppDir/
- cp ../assets/logo.svg FluffyChat.AppDir/fluffychat.svg
- appimagetool -u "zsync|https://gitlab.com/famedly/fluffychat/-/releases/permalink/latest/downloads/FluffyChat-arm64.AppImage.zsync" FluffyChat.AppDir
allow_failure: true

View File

@ -16,7 +16,8 @@ cd appimage
# prepare AppImage files
cp FluffyChat.desktop FluffyChat.AppDir/
mkdir -p FluffyChat.AppDir/usr/share/icons
cp ../assets/logo.png FluffyChat.AppDir/usr/share/icons/fluffychat.png
cp ../assets/logo.svg FluffyChat.AppDir/fluffychat.svg
cp AppRun FluffyChat.AppDir
# build the AppImage
appimagetool FluffyChat.AppDir