Fixing a screenshot without creating a new release

I messed up once again. A screenshot that was supposed to show a dialog doesn’t. Since I don’t plan to publish a new release anytime soon, is there another way I can replace the screenshot?

Thanks.

Patch the metainfo file Module Sources - Flatpak documentation

Test build failed:

“{‘type’: ‘patch’} is not valid under any of the given schemas”

https://github.com/flathub/io.github.mimoguz.tripeaks_neue/pull/7

What am I doing wrong?

Change paths:path:

New error:

FB: Running: tar xf /work/.flatpak-builder/downloads/9f208ec5be62818e0926dad4e29a586ceb949b0a1d5ee4362717a4beed575020/tripeaksneue-linux-x86_64.tar.gz --no-same-owner --strip-components=1 -z
FB: Running: patch -p1 -i /work/patches/0001-Fix-the-screenshot.patch
Applying patch 0001-Fix-the-screenshot.patch
can't find file to patch at input line 12

It’s trying to patch the build artifact, not the sources?

Time to research how patch files work… there is nothing Flatpak specific in that.

You created the patchfile from inside the git repo while you are using tarballs whose file structure does not match that of the git repo.

Also don’t create a patchfile with binary PNG data. Just put the screenshot in the PR, then patch the metainfo file to change the link of the screenshot.