mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
(Windows) Converted forward slashes to backslashes for the legacy application data directory notification
This commit is contained in:
parent
177b5befef
commit
0c4db4156b
|
@ -139,11 +139,22 @@ void ViewController::setMenuColors()
|
|||
|
||||
void ViewController::legacyAppDataDialog()
|
||||
{
|
||||
const std::string upgradeMessage {
|
||||
const std::string upgradeMessage
|
||||
{
|
||||
"AS OF ES-DE 3.0 THE APPLICATION DATA DIRECTORY HAS CHANGED FROM \".emulationstation\" "
|
||||
"to \"ES-DE\"\nPLEASE RENAME YOUR CURRENT DATA DIRECTORY:\n" +
|
||||
Utils::FileSystem::getAppDataDirectory() + "\nTO THE FOLLOWING:\n" +
|
||||
Utils::FileSystem::getParent(Utils::FileSystem::getAppDataDirectory()) + "/ES-DE"};
|
||||
#if defined(_WIN64)
|
||||
Utils::String::replace(Utils::FileSystem::getAppDataDirectory(), "/", "\\") +
|
||||
"\nTO THE FOLLOWING:\n" +
|
||||
Utils::String::replace(
|
||||
Utils::FileSystem::getParent(Utils::FileSystem::getAppDataDirectory()), "/", "\\") +
|
||||
"\\ES-DE"
|
||||
};
|
||||
#else
|
||||
Utils::FileSystem::getAppDataDirectory() + "\nTO THE FOLLOWING:\n" +
|
||||
Utils::FileSystem::getParent(Utils::FileSystem::getAppDataDirectory()) + "/ES-DE"
|
||||
};
|
||||
#endif
|
||||
|
||||
mWindow->pushGui(new GuiMsgBox(
|
||||
HelpStyle(), upgradeMessage.c_str(), "OK", [] {}, "", nullptr, "", nullptr, nullptr, true,
|
||||
|
|
Loading…
Reference in a new issue