ci: Package Ruffle logo, desktop file, and metainfo for Linux

This is useful for downstream binary distributions as they can now use
the official logo, metainfo, and desktop file when installing Ruffle
instead of creating their own or checking out sources.
This commit is contained in:
Kamil Jarosz 2024-09-05 12:36:42 +02:00 committed by TÖRÖK Attila
parent e179b41ca7
commit 1c6f5374c7
1 changed files with 7 additions and 0 deletions

View File

@ -157,6 +157,13 @@ jobs:
if: runner.os == 'Linux'
run: |
cp ${{ env.CARGO_BUILD_DIR }}/ruffle_desktop package/ruffle
# Package extras
mkdir -p package/extras
cp desktop/packages/linux/rs.ruffle.Ruffle.desktop package/extras
cp desktop/packages/linux/rs.ruffle.Ruffle.metainfo.xml package/extras
cp desktop/packages/linux/rs.ruffle.Ruffle.svg package/extras
# We must enter the package/ directory in order to create a flat tarball (i.e. without a directory in it).
cd package
tar -czvf ../${{ env.PACKAGE_FILE }} *