Fixed: Use default path for ryzom_installer.log is installation directory not defined

This commit is contained in:
kervala 2016-11-21 16:35:18 +01:00
parent 7134f35f69
commit 3d726db78c

View file

@ -152,7 +152,7 @@ int main(int argc, char *argv[])
bool res = config.load(); bool res = config.load();
// init log // init log
CLogHelper logHelper(config.getInstallationDirectory()); CLogHelper logHelper(config.getInstallationDirectory().isEmpty() ? config.getNewInstallationDirectory():config.getInstallationDirectory());
nlinfo("Launched %s", Q2C(config.getInstallerCurrentFilePath())); nlinfo("Launched %s", Q2C(config.getInstallerCurrentFilePath()));