sane-open: fix so we can launch read-only files

This commit is contained in:
Colin 2024-05-12 17:50:11 +00:00
parent 3c1a74998e
commit e63e359417

View File

@ -76,7 +76,7 @@ open_application() {
open_file() {
# open the file, and then pass the fd to dbus
log "open_file: '$1'"
exec 3<> "$1"
exec 3< "$1"
gdbus call --session --timeout 10 \
--dest org.freedesktop.portal.Desktop \
--object-path /org/freedesktop/portal/desktop \