Describe the bug
When the Flatpak version of Foliate is set as the default app for epub files in Ranger, it displays a "Book cannot be opened: File not found" error. The snap version works fine.
To Reproduce
Steps to reproduce the behavior:
Add the following line to ~/.config/ranger/rifle.conf:
ext epub, has com.github.johnfactotum.Foliate, X, flag f = com.github.johnfactotum.Foliate "$@"
Start Ranger in a new terminal session and try to open an .epub file
Expected behavior
Foliate opens the selected file correctly.
Describe the bug When the Flatpak version of Foliate is set as the default app for epub files in Ranger, it displays a "Book cannot be opened: File not found" error. The snap version works fine.
To Reproduce Steps to reproduce the behavior:
Expected behavior Foliate opens the selected file correctly.
Version: