Problem setting architecture

I am a noob who is trying to understand how to build appimages. I am following this guide: https://www.booleanworld.com/creating-linux-apps-run-anywhere-appimage/. I downloaded the appimagetool and resources files from here https://github.com/boolean-world/appimage-resources. But if i run ./appimagetool-x86_64.AppImage appimage-resources/hello-world-appimage/ i get:

Unable to guess the architecture of the AppDir source directory "appimage-resources/hello-world-appimage/"
A valid architecture with the ARCH environmental variable should be provided
e.g. ARCH=x86_64 appimagetool ...

Before that i get error for missing category in the .desktop file which i fixed, but i don’t know how to fix this.

1 Like

Like it literally says in the message:

 ARCH=x86_64 ./appimagetool-x86_64.AppImage appimage-resources/hello-world-appimage/
1 Like

Thanks, that fixed it.

2 Likes