Is there a way to change update information in .AppImage file without recreating it?
Edit: Yes it can be changed without re-creating the AppImage.
Of course it's possible, but none of our tools supports it, intentionally. It's a rare use case. With appimagetool, it's faster/easier to unpack, and repack with the correct information.
Thank you, it is not a big deal, I thought it would be possible because it was stated in documentation: "this information is not put into the file system inside the AppImage, but rather embedded into the AppImage in a way that makes it very easy to change this information should it be required" - that's why I thought it is possible. Unpack and repack is a good way too.
@szymonk211 can you provide a link, please? If it's in the docs, I'd like to clarify that. PRs also welcome.
Sorry, I had answered too fast without reading the headline. This is about update information.
Yes it can be changed without re-creating the AppImage.
Basically you can use dd to write the update information to the correct offset.
Of course it's possible, but none of our tools supports it, intentionally. It's a rare use case.
Well... Great care was taken in the spec to make this possible, so that you don't have to re-create all AppImages in case you change e.g. a server domain. We should definitely build the tools to do it.
Here is the link if you still need it: https://github.com/AppImage/AppImageUpdate#update-information-overview
For me it was natural to search for command line option that let someone change this metadata in script https://github.com/AppImage/AppImageUpdate/blob/main/src/main.cpp. Maybe this is a good place to include this tool.