mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Changed: Only check if Ryzom is installed in current directory under Windows
--HG-- branch : develop
This commit is contained in:
parent
73e9806fe7
commit
fccaee006b
1 changed files with 7 additions and 1 deletions
|
@ -839,8 +839,13 @@ OperationStep CConfigFile::getInstallNextStep() const
|
|||
// only show wizard if installation directory undefined
|
||||
if (getInstallationDirectory().isEmpty())
|
||||
{
|
||||
QString currentDirectory;
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
// only under Windows
|
||||
|
||||
// if launched from current directory, it means we just patched files
|
||||
QString currentDirectory = getCurrentDirectory();
|
||||
currentDirectory = getCurrentDirectory();
|
||||
|
||||
if (!isRyzomInstalledIn(currentDirectory))
|
||||
{
|
||||
|
@ -852,6 +857,7 @@ OperationStep CConfigFile::getInstallNextStep() const
|
|||
currentDirectory.clear();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// install or migrate depending if Ryzom was found in current directory
|
||||
return currentDirectory.isEmpty() ? ShowInstallWizard:ShowMigrateWizard;
|
||||
|
|
Loading…
Reference in a new issue