Skip to content

Commit a92e676

Browse files
committed
Merge branch 'release-v1.5.2'
2 parents 7391846 + 17027cb commit a92e676

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Changes in [1.5.2](https://github.com/vector-im/riot-web/releases/tag/v1.5.2) (2019-11-04)
2+
==========================================================================================
3+
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.1...v1.5.2)
4+
5+
* Fix close window behaviour on Macos
6+
[\#11311](https://github.com/vector-im/riot-web/pull/11311)
7+
18
Changes in [1.5.1](https://github.com/vector-im/riot-web/releases/tag/v1.5.1) (2019-11-04)
29
==========================================================================================
310
[Full Changelog](https://github.com/vector-im/riot-web/compare/v1.5.1-rc.2...v1.5.1)

‎electron_app/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "riot-web",
33
"productName": "Riot",
44
"main": "src/electron-main.js",
5-
"version": "1.5.1",
5+
"version": "1.5.2",
66
"description": "A feature-rich client for Matrix.org",
77
"author": "New Vector Ltd.",
88
"dependencies": {

‎electron_app/src/electron-main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ app.on('ready', () => {
393393
});
394394
mainWindow.on('close', (e) => {
395395
// If we are not quitting and have a tray icon then minimize to tray
396-
if (!global.appQuitting && tray.hasTray()) {
396+
if (!global.appQuitting && (tray.hasTray() || process.platform === 'darwin')) {
397397
// On Mac, closing the window just hides it
398398
// (this is generally how single-window Mac apps
399399
// behave, eg. Mail.app)

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "riot-web",
33
"productName": "Riot",
44
"main": "electron_app/src/electron-main.js",
5-
"version": "1.5.1",
5+
"version": "1.5.2",
66
"description": "A feature-rich client for Matrix.org",
77
"author": "New Vector Ltd.",
88
"repository": {

0 commit comments

Comments
 (0)