Skip to content
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

Merged
merged 7 commits into from
Apr 29, 2021
Merged

Dependencies update #231

merged 7 commits into from
Apr 29, 2021

Conversation

Araxeus
Copy link
Collaborator

@Araxeus Araxeus commented Apr 12, 2021

  • Removed downloads-folder dependency - use instead app.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 overrides win.hide() + win.show()
      +set taskbar on win.show() if songInfo is valid

    • YoutubeNonStop v0.9.0 probably fixed a bug with auto-confirm-when-paused not allowing pausing through external buttons [Tray, Taskbar, Notifications]

Copy link
Owner

@th-ch th-ch left a 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");
Copy link
Owner

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")

Copy link
Collaborator Author

@Araxeus Araxeus Apr 29, 2021

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 🙂

@th-ch th-ch merged commit f95e29d into th-ch:master Apr 29, 2021
@Araxeus Araxeus deleted the dependencies-update branch May 6, 2021 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants