mirror of
https://github.com/AntiMicroX/antimicrox.git
synced 2025-12-23 23:29:25 -05:00
fix: wayland appId (#1100)
Signed-off-by: Reilly Brogan <reilly@reillybrogan.com>
This commit is contained in:
@@ -17,7 +17,6 @@ Categories=Game;Qt;Utility;
|
||||
MimeType=application/x-amgp;
|
||||
Keywords=game;controller;keyboard;joystick;mouse;
|
||||
Actions=run-in-tray;
|
||||
StartupWMClass=antimicrox
|
||||
|
||||
[Desktop Action run-in-tray]
|
||||
Name=Open in system tray only
|
||||
|
||||
@@ -419,6 +419,9 @@ int main(int argc, char *argv[])
|
||||
QTranslator qtTranslator;
|
||||
|
||||
#if defined(Q_OS_UNIX)
|
||||
// Ensure that the Wayland appId matches the .desktop file name
|
||||
QGuiApplication::setDesktopFileName("io.github.antimicrox.antimicrox");
|
||||
|
||||
installSignalHandlers();
|
||||
|
||||
QString transPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
|
||||
|
||||
Reference in New Issue
Block a user