Skip to content

Commit b9b2eaa

Browse files
authored
Linux: add new icons, brand colors, and CI (#29)
* Linux: add new icons to Flatpak manifest Follow-up to #28 * MetaInfo: Update brand colors, add release notes * GitHub Actions: Add Flatpak action Help make sure any Linux changes don't break the Flatpak build.
1 parent 231c49d commit b9b2eaa

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

.github/workflows/flatpak.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Flatpak
2+
on:
3+
push:
4+
branches:
5+
- master4
6+
pull_request:
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
flatpak:
14+
runs-on: ubuntu-latest
15+
container:
16+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-47
17+
options: --privileged
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: flathub-infra/flatpak-github-actions/flatpak-builder@master
21+
with:
22+
bundle: rota.flatpak
23+
manifest-path: linux/net.hhoney.rota.yml
24+
cache-key: "flatpak-builder-${{ github.sha }}"

linux/net.hhoney.rota.metainfo.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<name>ROTA</name>
44
<summary>Gravity bends beneath your feet</summary>
55
<branding>
6-
<color type="primary" scheme_preference="light">#ff99ff</color>
6+
<color type="primary" scheme_preference="light">#ffc3d6</color>
77
<color type="primary" scheme_preference="dark">#850087</color>
88
</branding>
99
<developer_name translatable="no">HHoney Software</developer_name>
@@ -61,6 +61,11 @@
6161
</screenshot>
6262
</screenshots>
6363
<releases>
64+
<release version="2025.02.23" date="2025-02-23">
65+
<description>
66+
<p>Refreshed app icon and brand colors</p>
67+
</description>
68+
</release>
6469
<release version="2024.12.10" date="2024-12-10">
6570
<description>
6671
<p>Touch screen revisions</p>

linux/net.hhoney.rota.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ modules:
2626
- install -Dm644 ROTA.pck ${FLATPAK_DEST}/bin/godot-runner.pck
2727
- install -Dm644 linux/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
2828
- install -Dm644 linux/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
29-
- install -Dm644 media/image/icon/icon256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
30-
29+
- install -Dm644 linux/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
30+
- install -Dm644 linux/${FLATPAK_ID}-symbolic.svg ${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg

0 commit comments

Comments
 (0)