feat(open-external): add openExternal util fn

This commit is contained in:
George Lima 2019-01-28 10:04:30 -03:00
parent 2fae82c1fe
commit 603c045e98
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
// @flow
// eslint-disable-next-line
import electron from 'electron';
export default (url: string) => electron.shell.openExternal(url);