Skip to content

Commit

Permalink
linux: Move to linux folder, update manifest
Browse files Browse the repository at this point in the history
More closely aligns with the other games and their Flathub setups. Also
updates the workflow to not upload a tarball.
  • Loading branch information
cassidyjames committed Jan 15, 2025
1 parent 555a69a commit 590a413
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 41 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/godot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
tar -cJf ${{ env.EXPORT_NAME }}.tar.xz ${{ env.EXPORT_NAME }}.pck
gh release upload '${{ github.ref_name }}' * --repo '${{ github.repository }}'
gh release upload '${{ github.ref_name }}' ${{ env.EXPORT_NAME }}.pck --repo '${{ github.repository }}'
File renamed without changes.
File renamed without changes.
30 changes: 30 additions & 0 deletions linux/net.hhoney.rota.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
id: net.hhoney.rota
runtime: org.freedesktop.Platform
runtime-version: '24.08'
base: org.godotengine.godot.BaseApp
base-version: '3.6'
sdk: org.freedesktop.Sdk
command: godot-runner
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --device=all
modules:
- name: rota
buildsystem: simple
sources:

- type: dir
path: ../

- type: file
url: https://github.com/HarmonyHoney/ROTA/releases/download/flathub3/ROTA.pck
sha256: fc7849b61e32c6ff6d8a8c4b31225c396ca845ee220436f75f665d60698c59a6

build-commands:
- install -Dm644 ROTA.pck ${FLATPAK_DEST}/bin/godot-runner.pck
- install -Dm644 linux/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 linux/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -Dm644 media/image/icon/icon256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png

39 changes: 0 additions & 39 deletions net.hhoney.rota.json

This file was deleted.

0 comments on commit 590a413

Please sign in to comment.