about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 14b0a4c0..8bb1d78d 100644
--- a/src/core.c
+++ b/src/core.c
@@ -483,7 +483,9 @@ static void hookMangoHud()
     if (FileExist("/etc/MangoHud.conf", IS_FILE)) return;
     const char* configdir = getenv("XDG_CONFIG_HOME");
     const char* homedir = getenv("HOME");
+#ifndef ANDROID
     homedir = homedir ? homedir : getpwuid(getuid())->pw_dir;
+#endif
     if (!homedir) return;
 
     static char config_base[512];