feat(open-external): add openExternal util fn
This commit is contained in:
parent
2fae82c1fe
commit
603c045e98
|
@ -0,0 +1,5 @@
|
|||
// @flow
|
||||
// eslint-disable-next-line
|
||||
import electron from 'electron';
|
||||
|
||||
export default (url: string) => electron.shell.openExternal(url);
|
Loading…
Reference in New Issue