This commit is contained in:
David Baker 2018-12-18 18:03:47 +00:00
parent 19f1489c92
commit 0c428efea0

View File

@ -24,6 +24,8 @@ import { _t } from 'matrix-react-sdk/lib/languageHandler';
import Promise from 'bluebird'; import Promise from 'bluebird';
import rageshake from 'matrix-react-sdk/lib/rageshake/rageshake'; import rageshake from 'matrix-react-sdk/lib/rageshake/rageshake';
const ipcRenderer = window.ipcRenderer;
function platformFriendlyName(): string { function platformFriendlyName(): string {
// used to use window.process but the same info is available here // used to use window.process but the same info is available here
if (navigator.userAgent.indexOf('Macintosh')) { if (navigator.userAgent.indexOf('Macintosh')) {