scriptspry / Saavn-Mac

UNOFFICIAL Mac App for Saavn based on Electron
https://scriptspry.com/2016/07/31/saavn-mac-app.html
Creative Commons Zero v1.0 Universal
24 stars 17 forks source link

[Feature Request] can you prevent the close button from quitting the app? #1

Closed AlJohri closed 7 years ago

AlJohri commented 7 years ago

to be more consistent with Spotify and other mac apps, can you prevent the close button from actually quitting the app?

so if I press Cmd-W (the standard close tab shortcut), it would close the current Saavn window but continue playing the song

if I press Cmd-Q, it actually quicks Saavn

AlJohri commented 7 years ago

also, thanks a bunch for making this!

scriptspry commented 7 years ago

I haven't updated the download link with the new build. For now, compiling it yourself should work. Let me know if you need me to update it, will do it later.

AlJohri commented 7 years ago

thanks for the quick turn around! will try it out

AlJohri commented 7 years ago

I think that Cmd-W should hide the app similar to Spotify. Currently its a noop.

AlJohri commented 7 years ago
AlJohri commented 7 years ago

screen shot 2016-12-08 at 8 49 50 am

AlJohri commented 7 years ago

happy to look into this stuff if you point me in the right direction

scriptspry commented 7 years ago

I've not noticed this, nice catch! Seems like this is a gotcha with electron as described here.

scriptspry commented 7 years ago

This link seems more thorough.