mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Continuumatrice: isolate Linux executable and desktop identity (main.cpp)
This commit is contained in:
parent
81cb33571e
commit
93f4549d43
1 changed files with 2 additions and 2 deletions
|
|
@ -333,7 +333,7 @@ int main(int argc, char *argv[])
|
|||
#elif defined(Q_OS_WIN)
|
||||
translationPath = qApp->applicationDirPath() + "/translations";
|
||||
#else // linux
|
||||
translationPath = qApp->applicationDirPath() + "/../share/cockatrice/translations";
|
||||
translationPath = qApp->applicationDirPath() + "/../share/continuumatrice/translations";
|
||||
#endif
|
||||
|
||||
// Command-line parser
|
||||
|
|
@ -492,7 +492,7 @@ int main(int argc, char *argv[])
|
|||
// extension. Wayland reads the window icon from it, and xdg-desktop-portal looks up
|
||||
// org.freedesktop.host.portal.Registry by this app ID, so it has to match the file name
|
||||
// exactly, down to the case.
|
||||
QGuiApplication::setDesktopFileName("cockatrice");
|
||||
QGuiApplication::setDesktopFileName("continuumatrice");
|
||||
|
||||
SettingsCache::instance().network().setClientID(generateClientID());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue