jitsi-meet-electron/app/features/utils/functions.js
2018-06-08 21:32:21 +02:00

20 lines
347 B
JavaScript

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