-
Notifications
You must be signed in to change notification settings - Fork 10
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
Make UnityLauncherAPI work #12
Conversation
Started test build 103991 |
Build 103991 failed |
bot, build |
Queued test build for dev.vencord.Vesktop. |
Started test build 106439 |
Build 106439 successful
|
- --talk-name=com.canonical.Unity | ||
# Electron checks if it running on Unity/KDE before using the UnityLauncherAPI, so we need to pretend we are on KDE to make it work on other desktops | ||
- --env=XDG_CURRENT_SESSION=KDE | ||
- --env=XDG_CURRENT_DESKTOP=KDE |
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.
pretending to be a different desktop environment seems wrong. why is this necessary?
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.
Electron does check the current desktop for some reason. If we want to make this work outside KDE, we need to pretend we are on KDE.
Fixes Vencord/Vesktop#298