AppImage

Is it possible to set environment variable for the AppImage?

I’m developing an app and creating an AppImage using linuxdeployqt.

My app uses an embedded Python interpreter, which to work properly needs to have PYTHONHOME set in the environment, relative pointing to a path packaged within the AppImage itself.

I was wondering if there’s any way of doing that.

Yes, you can use a custom script as your AppRun which can set environment variables as you please.