feat: support AppImage builds

- add CI builds for AppImage builds
- add AppImage metadata

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
TheOneWithTheBraid 2022-04-29 10:11:39 +02:00
commit b9803bb304
5 changed files with 78 additions and 0 deletions

2
appimage/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
FluffyChat.AppDir
*.AppImage

4
appimage/AppRun Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
cd "$(dirname "$0")"
exec ./fluffychat

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=FluffyChat
Comment=Matrix Client. Chat with your friends
Exec=AppRun
Icon=fluffychat
Terminal=false
Categories=Network;Chat;InstantMessaging;X-Matrix;

23
appimage/README.md Normal file
View file

@ -0,0 +1,23 @@
# FluffyChat AppImage
FluffyChat is provided as AppImage too. To Download, visit fluffychat.im.
## Building
- Ensure you install `appimagetool`
```shell
flutter build linux
# copy binaries to appimage dir
cp -r build/linux/{x64,arm64}/release/bundle appimage/FluffyChat.AppDir
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
# build the AppImage
appimagetool FluffyChat.AppDir
```