mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 07:43:01 +01:00
Clarify elevated permissions warning, insert line break in data files message, fixes #6215
This commit is contained in:
@@ -281,7 +281,7 @@ namespace OpenRCT2
|
|||||||
|
|
||||||
if (platform_process_is_elevated())
|
if (platform_process_is_elevated())
|
||||||
{
|
{
|
||||||
std::string elevationWarning = "It is not recommended to run OpenRCT2 with elevated permissions.";
|
std::string elevationWarning = "For security reasons, it is strongly recommended not to run OpenRCT2 with elevated permissions.";
|
||||||
if (gOpenRCT2Headless)
|
if (gOpenRCT2Headless)
|
||||||
{
|
{
|
||||||
Console::Error::WriteLine(elevationWarning.c_str());
|
Console::Error::WriteLine(elevationWarning.c_str());
|
||||||
|
|||||||
@@ -730,7 +730,7 @@ extern "C"
|
|||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
IUiContext * uiContext = GetContext()->GetUiContext();
|
IUiContext * uiContext = GetContext()->GetUiContext();
|
||||||
uiContext->ShowMessageBox("OpenRCT2 needs files from the original RollerCoaster Tycoon 2 in order to work. Please select the directory where you installed RollerCoaster Tycoon 2.");
|
uiContext->ShowMessageBox("OpenRCT2 needs files from the original RollerCoaster Tycoon 2 in order to work. \nPlease select the directory where you installed RollerCoaster Tycoon 2.");
|
||||||
|
|
||||||
std::string installPath = uiContext->ShowDirectoryDialog("Please select your RCT2 directory");
|
std::string installPath = uiContext->ShowDirectoryDialog("Please select your RCT2 directory");
|
||||||
if (installPath.empty())
|
if (installPath.empty())
|
||||||
|
|||||||
Reference in New Issue
Block a user