-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependencies update #231
Dependencies update #231
Conversation
(electron 11.4.2 fixed the bug that required that)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for the updates! Just one comment but the fix is simple, I will merge the PR then fix the getFolder
method
|
||
module.exports.getFolder = (customFolder) => customFolder || downloadsFolder(); | ||
module.exports.getFolder = (customFolder) => customFolder || app.getPath("downloads"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The app
module from electron is only available in the main process, not the renderer one, so it breaks the downloader - a fix for that is to use (electron.app || electron.remote.app).getPath("downloads")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woups sorry I missed that, good catch 🙂
Removed
downloads-folder
dependency - use insteadapp.getPath("downloads")
Updated most of the dependencies, notable important fixes:
Electron 11.4.2 has fixed
win.hide
breaking thumbar (because of my feedback 😋 )🔽
Updated
taskbar-mediacontrol
accordingly - it no longer overrideswin.hide()
+win.show()
+set taskbar on
win.show()
if songInfo is validYoutubeNonStop v0.9.0 probably fixed a bug with
auto-confirm-when-paused
not allowing pausing through external buttons [Tray, Taskbar, Notifications]