Use shared-mime-info for mime detection

This commit is contained in:
Jeremy Soller 2024-03-04 11:16:25 -07:00
parent ac4626d9cf
commit 672821a5fc
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
4 changed files with 169 additions and 805 deletions

View file

@ -28,6 +28,7 @@ shlex = { version = "1.3" }
tokio = { version = "1" }
trash = "3.2.0"
xdg = { version = "2.5.2", optional = true }
xdg-mime = "0.3"
# Internationalization
i18n-embed = { version = "0.14", features = [
"fluent-system",
@ -45,10 +46,6 @@ features = ["multi-window", "tokio", "winit"]
version = "0.2.1"
features = ["serde"]
#TODO: clean up and send changes upstream
[dependencies.systemicons]
git = "https://github.com/jackpot51/systemicons"
[features]
default = ["desktop", "wgpu"]
desktop = ["libcosmic/desktop", "dep:freedesktop_entry_parser", "dep:xdg"]