mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- when converting to a portable install, flag the current session accordingly.
This commit is contained in:
parent
4ebcff8573
commit
5ea57a6c64
1 changed files with 1 additions and 0 deletions
|
@ -302,6 +302,7 @@ FString M_GetConfigPath(bool for_reading)
|
||||||
if (action == IDNO)
|
if (action == IDNO)
|
||||||
{
|
{
|
||||||
path.Format("%s" GAMENAMELOWERCASE "_portable.ini", progdir.GetChars());
|
path.Format("%s" GAMENAMELOWERCASE "_portable.ini", progdir.GetChars());
|
||||||
|
isportable = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool res = MoveFileExW(WideString(oldpath).c_str(), WideString(path).c_str(), MOVEFILE_COPY_ALLOWED);
|
bool res = MoveFileExW(WideString(oldpath).c_str(), WideString(path).c_str(), MOVEFILE_COPY_ALLOWED);
|
||||||
|
|
Loading…
Reference in a new issue