app-id: com.inulute.aigate runtime: org.freedesktop.Platform runtime-version: '24.08' sdk: org.freedesktop.Sdk base: org.electronjs.Electron2.BaseApp base-version: '24.08' command: ai-gate separate-locales: false finish-args: - --share=ipc - --share=network - --socket=x11 - --socket=wayland - --device=dri - --filesystem=xdg-download - --talk-name=org.freedesktop.Notifications - --talk-name=org.kde.StatusNotifierWatcher - --talk-name=com.canonical.AppMenu.Registrar - --system-talk-name=org.freedesktop.login1 - --env=ELECTRON_OZONE_PLATFORM_HINT=auto modules: - name: ai-gate buildsystem: simple build-commands: # Install the pre-built app bundle - install -dm755 /app/ai-gate - cp -r . /app/ai-gate # Install launch script - install -Dm755 ai-gate.sh /app/bin/ai-gate # Install desktop entry - install -Dm644 com.inulute.aigate.desktop /app/share/applications/com.inulute.aigate.desktop # Install AppStream metainfo - install -Dm644 com.inulute.aigate.metainfo.xml /app/share/metainfo/com.inulute.aigate.metainfo.xml # Install icons - install -Dm644 com.inulute.aigate.512.png /app/share/icons/hicolor/512x512/apps/com.inulute.aigate.png sources: # Pre-built Linux zip from GitHub Releases # To update: download the new release zip, run `sha256sum AI-Gate-X.Y.Z.zip`, replace below - type: archive url: https://github.com/inulute/ai-gate/releases/download/v4.5.0/AI.Gate-4.5.0.zip sha256: 53751289ad54b477404ad48342f67a47bf179f1453c2222062820ffe1dae03da strip-components: 0 # Launch wrapper script - type: script dest-filename: ai-gate.sh commands: - export TMPDIR="${XDG_RUNTIME_DIR}/app/${FLATPAK_ID}" - exec /app/ai-gate/ai-gate --no-sandbox "$@" # Desktop entry, metainfo, and icon bundled alongside the manifest - type: file path: com.inulute.aigate.desktop - type: file path: com.inulute.aigate.metainfo.xml - type: file path: com.inulute.aigate.512.png