2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Ensure custom arguments get applied in generated .desktop file

This commit is contained in:
Ilya Fedin
2024-02-14 01:14:01 +04:00
committed by John Preston
parent 00f98793b1
commit c5db2b8175

View File

@@ -280,6 +280,11 @@ bool GenerateDesktopFile(
}
}
if (!args.isEmpty()
&& target->has_key("Desktop Entry", "DBusActivatable")) {
target->remove_key("Desktop Entry", "DBusActivatable");
}
target->save_to_file(targetFile.toStdString());
} catch (const std::exception &e) {
if (!silent) {