From 5ea57a6c64e2eaff3be3aa93c5fe8d5c4c341bb5 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 6 Nov 2022 10:59:07 +0100 Subject: [PATCH] - when converting to a portable install, flag the current session accordingly. --- src/common/platform/win32/i_specialpaths.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/platform/win32/i_specialpaths.cpp b/src/common/platform/win32/i_specialpaths.cpp index 7e4252d3c..0b29a28c5 100644 --- a/src/common/platform/win32/i_specialpaths.cpp +++ b/src/common/platform/win32/i_specialpaths.cpp @@ -302,6 +302,7 @@ FString M_GetConfigPath(bool for_reading) if (action == IDNO) { path.Format("%s" GAMENAMELOWERCASE "_portable.ini", progdir.GetChars()); + isportable = true; } } bool res = MoveFileExW(WideString(oldpath).c_str(), WideString(path).c_str(), MOVEFILE_COPY_ALLOWED);