chore: Use xdg-mime in steamdeck-gnome-presets

This commit is contained in:
Kyle Gospodnetich 2023-10-22 17:04:54 -07:00
parent f89018743a
commit 58cac9ae20

View File

@ -37,7 +37,7 @@ then
echo "Usage: steamos-add-to-steam [-ui] <path>" echo "Usage: steamos-add-to-steam [-ui] <path>"
exit 1 exit 1
fi fi
mime=$(kmimetypefinder "$file") mime=$(xdg-mime query filetype "$file")
case "$mime" in case "$mime" in
"application/x-desktop"|"application/x-ms-dos-executable") "application/x-desktop"|"application/x-ms-dos-executable")
add_to_steam "$file" add_to_steam "$file"