From 58d850e23cbf907f2d6232b72450cf544d12cdc7 Mon Sep 17 00:00:00 2001 From: Miepee Date: Sat, 14 Jan 2023 20:56:51 +0100 Subject: [PATCH] Fix game not launching with new flatpak only saves --- AM2RLauncher/AM2RLauncherLib/Profile.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AM2RLauncher/AM2RLauncherLib/Profile.cs b/AM2RLauncher/AM2RLauncherLib/Profile.cs index 413ab3e..971ff78 100644 --- a/AM2RLauncher/AM2RLauncherLib/Profile.cs +++ b/AM2RLauncher/AM2RLauncherLib/Profile.cs @@ -772,6 +772,7 @@ public static class Profile FileName = $"{gameDirectory}/AM2R.AppImage" #endif }; + startInfo.EnvironmentVariables["HOME"] = CrossPlatformOperations.Home; log.Info($"CWD of Profile is {startInfo.WorkingDirectory}");