Skip to content

Get a list of installed software for runtime use

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

lyricwulf/installed-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

installed::

A simple cross-platform crate that lists all the apps installed on a system. Windows and MacOS are supported.

Usage

Single entrypoint is installed::list() which returns an iterator of Apps. Each App has standardized accessor functions to get metadata.

fn main() {
    let apps = installed::list().expect("list apps");
    for app in apps {
        // metadata accessor fns, these are only evaluated when used
        let name = app.name();
        let version = app.version();
        let publisher = app.publisher();
        println!("{name} v{version} by {publisher}");
    }
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Get a list of installed software for runtime use

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages