File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+
18Changes 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 )
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change 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" : {
111111 "electron-builder" : " ^21.2.0" ,
112112 "electron-builder-squirrel-windows" : " ^21.2.0" ,
113113 "electron-devtools-installer" : " ^2.2.4" ,
114- "electron-notarize" : " ^0.1.1 " ,
114+ "electron-notarize" : " ^0.2.0 " ,
115115 "eslint" : " ^5.8.0" ,
116116 "eslint-config-google" : " ^0.7.1" ,
117117 "eslint-plugin-babel" : " ^4.1.2" ,
118118 "eslint-plugin-flowtype" : " ^2.50.3" ,
119119 "eslint-plugin-react" : " ^7.11.1" ,
120+ "eslint-plugin-react-hooks" : " ^2.2.0" ,
120121 "expect" : " ^1.16.0" ,
121122 "file-loader" : " ^3.0.1" ,
122123 "fs-extra" : " ^0.30.0" ,
Original file line number Diff line number Diff line change @@ -3134,13 +3134,13 @@ electron-devtools-installer@^2.2.4:
31343134 rimraf "^2.5.2"
31353135 semver "^5.3.0"
31363136
3137- electron-notarize@^0.1.1 :
3138- version "0.1.1 "
3139- resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-0.1.1 .tgz#c3563d70c5e7b3315f44e8495b30050a8c408b91 "
3140- integrity sha512-TpKfJcz4LXl5jiGvZTs5fbEx+wUFXV5u8voeG5WCHWfY/cdgdD8lDZIZRqLVOtR3VO+drgJ9aiSHIO9TYn/fKg ==
3137+ electron-notarize@^0.2.0 :
3138+ version "0.2.0 "
3139+ resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-0.2.0 .tgz#676c71688ee84149bab27b22426d0a9452e7e262 "
3140+ integrity sha512-u3KdEMOEcGMF9yCML8ej4ZF+O29VmGYIjrs/DoOi23neTWOMiIc5YCeFs4vxq3JG496omcw7Y5pimPm0sH9A7g ==
31413141 dependencies :
31423142 debug "^4.1.1"
3143- fs-extra "^8.0.1 "
3143+ fs-extra "^8.1.0 "
31443144
31453145electron-publish@21.2.0 :
31463146 version "21.2.0"
@@ -3364,6 +3364,11 @@ eslint-plugin-flowtype@^2.50.3:
33643364 dependencies :
33653365 lodash "^4.17.10"
33663366
3367+ eslint-plugin-react-hooks@^2.2.0 :
3368+ version "2.2.0"
3369+ resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.2.0.tgz#078264e9e388da6929ace09d6abe92c85963aff4"
3370+ integrity sha512-jSlnBjV2cmyIeL555H/FbvuSbQ1AtpHjLMHuPrQnt1eVA6lX8yufdygh7AArI2m8ct7ChHGx2uOaCuxq2MUn6g==
3371+
33673372eslint-plugin-react@^7.11.1 :
33683373 version "7.14.3"
33693374 resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.14.3.tgz#911030dd7e98ba49e1b2208599571846a66bdf13"
@@ -4091,7 +4096,7 @@ fs-extra@^0.30.0:
40914096 path-is-absolute "^1.0.0"
40924097 rimraf "^2.2.8"
40934098
4094- fs-extra@^8.0.1, fs-extra@^8. 1.0 :
4099+ fs-extra@^8.1.0 :
40954100 version "8.1.0"
40964101 resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
40974102 integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==
You can’t perform that action at this time.
0 commit comments