Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yuya-oc committed Apr 14, 2016
2 parents 3097da1 + af48bce commit c378344
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 12 deletions.
20 changes: 17 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Mattermost Desktop Application Changelog


## Release v1.2.0 (Beta)

### Improvements
Expand All @@ -8,8 +9,21 @@
- Add the option to show the icon on menu bar


## Release v1.1.1 (Beta)

### Fixes

#### All platforms
- **Settings** page doesn't return to the main page when the located path contains a blank.

#### Linux
- Alt+Shift opens menu on Cinnamon desktop environment.


## Release v1.1.0 (Beta)

- **Released:** 2016-03-30

The `electron-mattermost` project is now the official desktop application for the Mattermost open source project.


Expand All @@ -21,9 +35,9 @@ The `electron-mattermost` project is now the official desktop application for th
- Rename the executable file from `electron-mattermost` to `Mattermost`
- The configuration directory is also different from previous versions.
- Should execute following command to take over `config.json`.
- Windows: `copy %APPDATA%\electron-mattermost\config.json %APPDATA%\Mattermost\config.json`
- OS X: `cp ~/Library/Application\ Support/electron-mattermost/config.json ~/Library/Application\ Support/Mattermost/config.json`
- Linux: `cp ~/.config/electron-mattermost/config.json ~/.config/Mattermost/config.json`
- Windows: `mkdir %APPDATA%\Mattermost & copy %APPDATA%\electron-mattermost\config.json %APPDATA%\Mattermost\config.json`
- OS X: `ditto ~/Library/Application\ Support/electron-mattermost/config.json ~/Library/Application\ Support/Mattermost/config.json`
- Linux: `mkdir -p ~/.config/Mattermost && cp ~/.config/electron-mattermost/config.json ~/.config/Mattermost/config.json`


### Improvements
Expand Down
1 change: 1 addition & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- [ ] Did you read `CONTRIBUTING.md`?
7 changes: 5 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ gulp.task('webpack:browser', function() {
__filename: false,
__dirname: false
},
target: 'electron'
target: 'electron-renderer'
}))
.pipe(gulp.dest('dist/browser/'));
});
Expand All @@ -128,7 +128,10 @@ gulp.task('webpack:main', function() {
__filename: false,
__dirname: false
},
target: 'electron'
target: 'electron-main',
externals: {
remote: true // for electron-connect
}
}))
.pipe(gulp.dest('dist/'));
});
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mattermost-desktop",
"productName": "Mattermost",
"version": "1.1.0",
"version": "1.1.1",
"description": "Mattermost Desktop application for Windows, Mac and Linux",
"main": "main.js",
"author": "Yuya Ochiai",
Expand Down Expand Up @@ -30,7 +30,7 @@
"babel-preset-react": "^6.3.13",
"chromedriver": "^2.20.0",
"del": "^2.2.0",
"electron-connect": "^0.3.3",
"electron-connect": "^0.3.7",
"electron-packager": "^5.1.0",
"electron-prebuilt": "0.37.3",
"esformatter": "^0.8.1",
Expand All @@ -48,6 +48,7 @@
"through2": "^2.0.1",
"vinyl-named": "^1.1.0",
"webdriverio": "^3.3.0",
"webpack": "^1.12.15",
"webpack-stream": "^3.1.0"
}
}
2 changes: 1 addition & 1 deletion src/browser/settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ListGroupItem = ReactBootstrap.ListGroupItem;
const Glyphicon = ReactBootstrap.Glyphicon;

function backToIndex() {
window.location = 'index.html';
remote.getCurrentWindow().loadURL('file://' + __dirname + '/index.html');
}

var SettingsPage = React.createClass({
Expand Down
6 changes: 3 additions & 3 deletions src/main/menus/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var createTemplate = function(mainWindow) {
}] : [];

template.push({
label: first_menu_name,
label: '&' + first_menu_name,
submenu: [{
label: 'About ' + app_name,
role: 'about',
Expand All @@ -50,7 +50,7 @@ var createTemplate = function(mainWindow) {
}]
});
template.push({
label: 'Edit',
label: '&Edit',
submenu: [{
label: 'Undo',
accelerator: 'CmdOrCtrl+Z',
Expand Down Expand Up @@ -80,7 +80,7 @@ var createTemplate = function(mainWindow) {
}, ]
});
template.push({
label: 'View',
label: '&View',
submenu: [{
label: 'Reload',
accelerator: 'CmdOrCtrl+R',
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mattermost-desktop",
"productName": "Mattermost",
"version": "1.1.0",
"version": "1.1.1",
"description": "Mattermost Desktop application for Windows, Mac and Linux",
"main": "main.js",
"author": "Yuya Ochiai",
Expand Down

0 comments on commit c378344

Please sign in to comment.