electron: Update flags

This commit is contained in:
histalek 2023-07-21 11:02:57 +02:00
parent 2e07adef84
commit edea48c361
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE
3 changed files with 5 additions and 4 deletions

View file

@ -1 +1,2 @@
--ozone-platform=wayland
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto

View file

@ -1,10 +1,10 @@
[Desktop Entry]
Name=Discord (custom)
Name=Discord
StartupNotify=true
StartupWMClass=discord
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
GenericName=Internet Messenger
Exec=/usr/bin/electron24 --ozone-platform=wayland --enable-features=WebRTCPipeWireCapturer /usr/lib/discord/app.asar -- %u
Exec=/usr/bin/electron24 --ozone-platform-hint=auto --enable-webrtc-pipewire-capturer /usr/lib/discord/app.asar -- %u
Icon=discord
Type=Application
Categories=Network;InstantMessaging;

View file

@ -3,7 +3,7 @@ Type=Application
Name=Signal (custom)
Comment=Signal - Private Messenger
Icon=org.signal.Signal
Exec=/usr/bin/flatpak run org.signal.Signal --ozone-platform=wayland --use-tray-icon -- %u
Exec=/usr/bin/flatpak run org.signal.Signal --ozone-platform-hint=auto --use-tray-icon -- %u
Terminal=false
Categories=Network;InstantMessaging;Chat;
StartupWMClass=Signal