app-path icon indicating copy to clipboard operation
app-path copied to clipboard

Cross platform?

Open john-doherty opened this issue 4 years ago • 3 comments

Any plans to make this to work cross-platform (Mac, Windows, Linux)?

john-doherty avatar Jan 04 '21 20:01 john-doherty

It's not something I plan to work on, but I'm happy to accept a good pull request.

sindresorhus avatar Jan 05 '21 04:01 sindresorhus

I'm really pressed for time atm but will try to get back to this.

edge-paths might prove useful as it resolves the path to the Microsoft Edge browser on Windows/MacOS.

john-doherty avatar Jan 06 '21 12:01 john-doherty

Hi, see https://github.com/desktop/desktop/blob/c1895ed7ba7b2e878a4fa174ef82deeb5a0e1a0e/app/src/lib/editors/darwin.ts for example, it uses app-path, and it has win and linux alternatives in https://github.com/desktop/desktop/tree/c1895ed7ba7b2e878a4fa174ef82deeb5a0e1a0e/app/src/lib/editors

linonetwo avatar Apr 05 '22 04:04 linonetwo