Skip to content
generated from un-rust/template

🧐 Get the path of the browser, support Chrome and Edge.

License

Notifications You must be signed in to change notification settings

un-rust/browser-paths

🧐 browser-paths

Crates.io Version Crates.io Total Downloads docs.rs GitHub commit activity GitHub Repo stars

Get the path of the browser, support Chrome and Edge.

Full documentation →

Quick start

cargo add browser-paths

Usage

use browser_paths::{BrowserKind, get_browser_path};

fn main() {
    let chrome_path = get_browser_path(BrowserKind::Chrome);
    println!("chrome_path: {:?}", chrome_path);

    let edge_path = get_browser_path(BrowserKind::Edge);
    println!("edge_path: {:?}", edge_path);
}

License

Published under the Apache-2.0 license. Made by @UnRUST 💛


🛠️ auto updated with automd-rs

About

🧐 Get the path of the browser, support Chrome and Edge.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project