applications 0.3.1

A cross-platform library for finding installed applications.
Documentation
1
2
3
4
5
6
7
8
9
10
use applications::{api, AppInfo, AppInfoContext};
use std::path::PathBuf;

fn main() {
    let mut ctx = AppInfoContext::new(vec![]);
    ctx.refresh_apps().unwrap(); // must refresh apps before getting them

    let apps = ctx.get_all_apps();
    println!("Apps: {:#?}", apps);
}