diff --git a/react/src/components/dashboard/about/about.js b/react/src/components/dashboard/about/about.js index ee0e099..cca4603 100755 --- a/react/src/components/dashboard/about/about.js +++ b/react/src/components/dashboard/about/about.js @@ -2,6 +2,29 @@ import React from 'react'; import { translate } from '../../../translate/translate'; class About extends React.Component { + constructor() { + super(); + } + + openExternalWindow(url) { + const remote = window.require('electron').remote; + const BrowserWindow = remote.BrowserWindow; + + const externalWindow = new BrowserWindow({ + width: 1280, + height: 800, + title: `${translate('INDEX.LOADING')}...`, + icon: remote.getCurrentWindow().iguanaIcon, + }); + + externalWindow.loadURL(url); + externalWindow.webContents.on('did-finish-load', function() { + setTimeout(function() { + externalWindow.show(); + }, 40); + }); + } + render() { return (