pkg2appimage
pkg2appimage copied to clipboard
Cannot open files from working directory
For example running ./mediainfo-gui.AppImage Videos/video.mkv
will not open video.mkv in mediainfo-gui, it must be a full path: ./mediainfo-gui.AppImage $HOME/Videos/video.mkv
Reason is the chdir(2)
into the mounted AppImage directory in /tmp
. I don't even know if there's a real solution to this, but I wanted to let you know about it.
Currently you need to specify absolute paths or use $(readlink -f relative/path)
.