hellosiyan / Viewnior

Elegant Image Viewer
https://siyanpanayotov.com/project/viewnior/
GNU General Public License v3.0
319 stars 55 forks source link

Viewnior doesn't work in a bash script #129

Closed Gooberpatrol66 closed 1 year ago

Gooberpatrol66 commented 1 year ago

Viewnior run on a file works fine but this script run on the same file returns "the given locations contain no images." My environment between the shell and the script are identical.

#!/run/current-system/profile/bin/bash
viewnior $1

Version 1.8

Gooberpatrol66 commented 1 year ago

Derp, it's supposed to be "$1", ignore this.