albertopasqualetto / browser-paths

A simple package that retrieves the path of the most known browsers (if installed), no matter the OS
Apache License 2.0
8 stars 4 forks source link

Safari support on MacOS #10

Closed iforgotn closed 7 months ago

albertopasqualetto commented 7 months ago

Thanks! I'm waiting for the check on the mac.

Also it is missing the code in index.js which calls macos.js

albertopasqualetto commented 7 months ago

I don't have permissions to write in your fork @iknowthebrazil .

Anyway you have to add:

function getSafariPath() {
    //For macOS only
    return macos.getSafari() || null;
}

and then add getSafariPath to exported functions, all in index.js.

iforgotn commented 7 months ago

added

iforgotn commented 7 months ago

@albertopasqualetto

albertopasqualetto commented 7 months ago

Good.

albertopasqualetto commented 7 months ago

I have checked on an Intel Macbook.

Thanks

Published in v1.1.5