Skip to content
Snippets Groups Projects

Add checks for brokenness in the Steam installation or Steam Runtime

Merged Simon McVittie requested to merge wip/t16071 into master
Files
2
@@ -68,11 +68,15 @@ _srt_steam_check (const GStrv environ,
const char *home = NULL;
const char *user_data = NULL;
home = g_environ_getenv (environ, "HOME");
if (environ != NULL)
{
home = g_environ_getenv (environ, "HOME");
user_data = g_environ_getenv (environ, "XDG_DATA_HOME");
}
if (home == NULL)
home = g_get_home_dir ();
user_data = g_environ_getenv (environ, "XDG_DATA_HOME");
if (user_data == NULL)
user_data = g_get_user_data_dir ();
Loading