Whitelabel: Downloads link opens in Mattermost branded window.

This commit is contained in:
David Meza
2018-03-07 20:11:29 -05:00
parent a104621f43
commit 011b84e2f4

View File

@@ -104,7 +104,7 @@ const MattermostView = createReactClass({
ipcRenderer.send('download-url', e.url);
} else {
// New window should disable nodeIntergration.
window.open(e.url, 'Mattermost', 'nodeIntegration=no, show=yes');
window.open(e.url, remote.app.getName(), 'nodeIntegration=no, show=yes');
}
} else {
// if the link is external, use default browser.