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" : {
You can’t perform that action at this time.
0 commit comments