Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature request: system tray support #111

Open
gavin-lb opened this issue Jan 29, 2025 · 1 comment
Open

Feature request: system tray support #111

gavin-lb opened this issue Jan 29, 2025 · 1 comment

Comments

@gavin-lb
Copy link

Hi, I appreciate that this project is multiplatform focused, so this functionality might not be possible to implement. However, as a Windows user, I would love if the launcher could be minimised to the system tray with a suitable right-click menu. For example, Blizzard's Battle.net launcher is able to launch games in this way:

Image

Currently, the Jagex launcher does minimise to the system tray, but it has no right-click menu functionality. As it seems there are no proper channels to submit feature requests with them, I sought out alternative launchers and found this one. Unfortunately this is also lacking the functionality, but at least I can submit a feature request here :)

Alternatively, I am familiar with Vite and Typescript, but have never used svelte. I would be happy to contribute to the best of my ability if someone could draft a rough design doc for me to follow and write a PR.

Many thanks in advance for your consideration!

@Adamcake
Copy link
Owner

The only way to do this would be in the C++ CEF code - it wouldn't be possible to do this from the svelte UI. That part runs inside a CEF browser, and browsers don't have that kind of OS-level access to be able to make tray icons. It also would need the process to keep running even after the window is closed, when there's no javascript context running at all.

This would have to be a windows-only feature. I'm fine with that - system trays on x11 and wayland are horrible and nobody wants them.

This would also bypass a lot of the logic that's currently in the UI code, like checking if a login session is expired and downloading new versions of game launchers. So you wouldn't be able to launch any game that you haven't already played before.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants