Add flatpak'

This commit is contained in:
Alexis Jhon Gaspar 2023-09-09 20:03:35 +08:00
parent 2846db3f0b
commit 5a3116a9c6

12
test.sh Normal file
View file

@ -0,0 +1,12 @@
#!/bin/sh
GList *some_list, *l;
some_list = g_app_info_get_all(); /*This is where the GList function goes
for (l = some_list; l != NULL; l = l->next)
{
gpointer element_data = l->data;
printf("%s\n", g_app_info_get_display_name(element_data)); /*print out all of the display names of the .desktop files */
}
return 0;