Rename electron-mattermost to Mattermost at implementation
npm package name (package.json: name) is "mattermost-desktop" display name (package.json: productName) is "Mattermost"
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>electron-mattermost</title>
|
||||
<title>Mattermost</title>
|
||||
<link rel="stylesheet" href="modules/bootstrap/css/bootstrap.min.css">
|
||||
</head>
|
||||
|
||||
|
@@ -221,7 +221,7 @@ var MattermostView = React.createClass({
|
||||
var currentURL = url.parse(webview.getURL());
|
||||
var destURL = url.parse(e.url);
|
||||
if (currentURL.host === destURL.host) {
|
||||
window.open(e.url, 'electron-mattermost');
|
||||
window.open(e.url, 'Mattermost');
|
||||
} else {
|
||||
// if the link is external, use default browser.
|
||||
require('shell').openExternal(e.url);
|
||||
|
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "electron-mattermost",
|
||||
"name": "mattermost-desktop",
|
||||
"productName": "Mattermost",
|
||||
"version": "1.0.7",
|
||||
"description": "Electron-based desktop application for Mattermost",
|
||||
"description": "Mattermost Desktop application for Windows, Mac and Linux",
|
||||
"main": "main.js",
|
||||
"author": "Yuya Ochiai",
|
||||
"license": "MIT",
|
||||
|
Reference in New Issue
Block a user