AppFlowy/frontend/scripts/flatpack-buildfiles/io.appflowy.AppFlowy.yml
2023-03-22 14:49:15 +08:00

36 lines
1.1 KiB
YAML

app-id: io.appflowy.AppFlowy
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
command: AppFlowy
separate-locales: false
finish-args:
- --share=ipc
- --socket=x11
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio
- --share=network
- --device=all
modules:
- name: appflowy
buildsystem: simple
build-commands:
# - ls .
- cp -r appflowy /app/appflowy
- chmod +x /app/appflowy/AppFlowy
- install -Dm644 logo.svg /app/share/icons/hicolor/scalable/apps/io.appflowy.AppFlowy.svg
- mkdir /app/bin
- ln -s /app/appflowy/AppFlowy /app/bin/AppFlowy
- install -Dm644 io.appflowy.AppFlowy.desktop /app/share/applications/io.appflowy.AppFlowy.desktop
sources:
- type: archive
url: https://github.com/AppFlowy-IO/appflowy/releases/download/0.0.2/AppFlowy-linux-x86.tar.gz
sha256: b0dbe669bb9f34a65171adecaf61b02578bab5214d18a54009f0e4ec10665711
dest: appflowy
- type: file
path: io.appflowy.AppFlowy.desktop
- type: file
path: logo.svg