mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-16 22:19:47 -04:00
export: Store the app id in the X-Flatpak key
We need this, because it may not correspond 100% to the desktop file id, as flatpak allows suffixes if you want multiple desktop files in one app.
This commit is contained in:
@@ -3582,7 +3582,7 @@ export_desktop_file (const char *app,
|
||||
}
|
||||
|
||||
/* Add a marker so consumers can easily find out that this launches a sandbox */
|
||||
g_key_file_set_boolean (keyfile, "Desktop Entry", "X-Flatpak", TRUE);
|
||||
g_key_file_set_string (keyfile, "Desktop Entry", "X-Flatpak", app);
|
||||
}
|
||||
|
||||
groups = g_key_file_get_groups (keyfile, NULL);
|
||||
|
||||
Reference in New Issue
Block a user