[fix] flatpak hack to get XDG DIR DOWNLOAD to work
This commit is contained in:
@@ -5,5 +5,9 @@
|
|||||||
int
|
int
|
||||||
main (int argc, char *argv[])
|
main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
if (g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD) == NULL) {
|
||||||
|
g_spawn_command_line_sync("xdg-user-dirs-update", NULL, NULL, NULL, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
return g_application_run (G_APPLICATION (teleport_app_new ()), argc, argv);
|
return g_application_run (G_APPLICATION (teleport_app_new ()), argc, argv);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user