Project information:
Name: Boxxy
Homepage: GitHub - miifrommera/boxxy: A Terminal for GNOME · GitHub
License: Proprietary
Upstream has been contacted: I’m the developer
Hello, I want to ask for possible ways to publish in Flathub a proprietary app. Basically the app will get open source, but till then;
That’s my build YML
app-id: play.mii.Boxxy
runtime: org.gnome.Platform
runtime-version: "master"
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: boxxy-terminal
finish-args:
- --allow=devel
- --device=dri
- --filesystem=host
- --share=ipc
- --share=network
- --socket=fallback-x11
- --socket=wayland
- --socket=session-bus
- --socket=pulseaudio
- --talk-name=org.freedesktop.Flatpak
cleanup:
- /etc
- /include
- /lib/pkgconfig
- /share/doc
- /share/gir-1.0
- /share/gtk-doc
- /share/man
- /share/pkgconfig
- "*.la"
- "*.a"
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
env:
CARGO_HOME: /run/build/boxxy-terminal/cargo
modules:
- name: boxxy-terminal
buildsystem: simple
build-commands:
- cargo --offline fetch --manifest-path Cargo.toml
- cargo --offline build --release --manifest-path Cargo.toml
- install -Dm755 target/release/boxxy-terminal -t /app/bin/
- install -Dm755 target/release/boxxy-agent -t /app/libexec/
- install -Dm644 resources/icons/play.mii.Boxxy.png
/app/share/icons/hicolor/256x256/apps/play.mii.Boxxy.png
- install -Dm644 flatpak/play.mii.Boxxy.desktop
/app/share/applications/play.mii.Boxxy.desktop
- install -Dm644 flatpak/play.mii.Boxxy.metainfo.xml
/app/share/metainfo/play.mii.Boxxy.metainfo.xml
sources:
- type: dir
path: ..
- cargo-sources.json
The app runs a `boxxy-agent` outside the Flatpak sandbox, similar to Ptyxis, and basically has full access to the system. I already have setup a Flathub repo https://miifrommera.github.io/boxxy-flatpak-remote/repo so I was wondering if I could somehow publish directly from it, and how? Another way is a .zip from Github releases
Suggestions?