Merge pull request #79 from mattermost/rename-app

Rename electron-mattermost to Mattermost at implementation
Drop `v` from version name when releasing
This commit is contained in:
Yuya Ochiai
2016-03-20 23:16:45 +09:00
12 changed files with 72 additions and 66 deletions

View File

@@ -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>

View File

@@ -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);

View File

@@ -49,9 +49,6 @@ var mainWindow = null;
var trayIcon = null;
var willAppQuit = false;
// For toast notification on windows
app.setAppUserModelId('yuya-oc.electron-mattermost');
// Quit when all windows are closed.
app.on('window-all-closed', function() {
// On OS X it is common for applications and their menu bar

View File

@@ -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",