/* global process */ // @flow import { shell } from 'electron'; /** * Opens the provided link in default broswer. * * @param {string} link - Link to open outside the desktop app. * @returns {void} */ export function openExternalLink(link: string) { shell.openExternal(link); } /** * Return true if Electron app is running on Mac system. * * @returns {boolean} */ export function isElectronMac() { return process.platform === 'darwin'; }