browser-paths 1.1.1

Get the path of the browser, support Chrome and Edge.
Documentation
1
2
3
4
5
6
7
8
9
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);
}