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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user