Hi, when running the script from within an AppImage, it attempts to modify files in the mounted filesystem at /tmp/.mount_*. However, this filesystem is mounted as read-only by design, causing various commands (particularly mv and file modification operatios) to fail with "Read-only file system" errors.
For example, when executing the script, I encounter errors like:
mv: cannot remove '/tmp/.mount_pkg2apnThTDz/pkg2appimage.desktop': Read-only file system
This occurs because the HERE variable points to the AppImage's mounted location (e.g., /tmp/.mount_pkg2apEi0qUV/), and the script attempts to perform write operations in this read-only environment.
How can I handle this read-only filesystem scenario and ensure file operations work correctly when running from an AppImage?
