#`tauri::api::path` for `.local/share/applications` ?
2 messages · Page 1 of 1 (latest)
the applications subfolder isn't part of any xdg standard iirc, so there's no api to get that one directly. You can use the data_dir which will point to .local/share and then append applications yourself.
On windows it's similar (even though there are more folders avail under the KNOWNFOLDERID constants, most of them aren't exposed in relevant rust crates), there are only apis pointing to general AppData/Local and AppData/Roaming and the rest needs manual care.
Also I'm not sure which folder would be the equivalent for the linux one here. Probably AppData/Roaming/Microsoft/Windows/Start Menu/Programs 🤔