mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +00:00
chore: Use xdg-mime in steamdeck-gnome-presets
This commit is contained in:
parent
f89018743a
commit
58cac9ae20
@ -37,7 +37,7 @@ then
|
||||
echo "Usage: steamos-add-to-steam [-ui] <path>"
|
||||
exit 1
|
||||
fi
|
||||
mime=$(kmimetypefinder "$file")
|
||||
mime=$(xdg-mime query filetype "$file")
|
||||
case "$mime" in
|
||||
"application/x-desktop"|"application/x-ms-dos-executable")
|
||||
add_to_steam "$file"
|
||||
|
Loading…
x
Reference in New Issue
Block a user