diff --git a/.github/workflows/linux_build_flatpak.yml b/.github/workflows/linux_build_flatpak.yml
index 0e2c69823e..f69e677738 100644
--- a/.github/workflows/linux_build_flatpak.yml
+++ b/.github/workflows/linux_build_flatpak.yml
@@ -83,8 +83,14 @@ jobs:
arch: x86_64
build-bundle: true
verbose: true
+ mirror-screenshots-url: https://dl.flathub.org/repo/screenshots
+ branch: stable
cache: true
restore-cache: true
cache-key: ${{ inputs.os }} ${{ inputs.platform }} ${{ inputs.compiler }} ${{ inputs.detail }} flatpak ${{ hashFiles('.github/workflows/scripts/linux/flatpak/**/*.json') }}
+ - name: Commit screenshots to OSTree
+ run: |
+ ostree commit --repo=repo --canonical-permissions --branch=screenshots/x86_64 .github/workflows/scripts/linux/flatpak/screenshots
+
# TODO: Push to flathub
diff --git a/.github/workflows/scripts/linux/flatpak/screenshots/screenshot1.png b/.github/workflows/scripts/linux/flatpak/screenshots/screenshot1.png
new file mode 100644
index 0000000000..93dd603a9f
Binary files /dev/null and b/.github/workflows/scripts/linux/flatpak/screenshots/screenshot1.png differ
diff --git a/.github/workflows/scripts/linux/flatpak/screenshots/screenshot2.png b/.github/workflows/scripts/linux/flatpak/screenshots/screenshot2.png
new file mode 100644
index 0000000000..9a8bce5d42
Binary files /dev/null and b/.github/workflows/scripts/linux/flatpak/screenshots/screenshot2.png differ
diff --git a/.github/workflows/scripts/linux/pcsx2-qt.metainfo.xml.in b/.github/workflows/scripts/linux/pcsx2-qt.metainfo.xml.in
index f7700f3561..bd073c6147 100644
--- a/.github/workflows/scripts/linux/pcsx2-qt.metainfo.xml.in
+++ b/.github/workflows/scripts/linux/pcsx2-qt.metainfo.xml.in
@@ -13,6 +13,14 @@
https://pcsx2.net/
https://github.com/PCSX2/pcsx2/issues
+
+
+ https://raw.githubusercontent.com/PCSX2/pcsx2/master/.github/workflows/scripts/linux/flatpak/screenshots/screenshot1.png
+
+
+ https://raw.githubusercontent.com/PCSX2/pcsx2/master/.github/workflows/scripts/linux/flatpak/screenshots/screenshot2.png
+
+
pcsx2_AT_pcsx2.net