summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp

index 24fc8415..47ebba27 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -231,10 +231,11 @@ main(int argc, char *argv[]) #if !defined(Q_OS_MAC) app.setWindowIcon(QIcon::fromTheme(QStringLiteral("nheko"), QIcon{":/logos/nheko.png"})); #endif - if (userdata.isEmpty() || userdata == QLatin1String("default")) - app.setDesktopFileName(QStringLiteral("nheko")); - else - app.setDesktopFileName("nheko[" + userdata + "]"); +#ifdef NHEKO_FLATPAK + app.setDesktopFileName(QStringLiteral("io.github.NhekoReborn.Nheko")); +#else + app.setDesktopFileName(QStringLiteral("nheko")); +#endif http::init();