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

--HG--
branch : develop
feature/pipeline-tools
kervala 8 years ago
parent 88bfa8ec70
commit 7afe10373b

@ -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()));

Loading…
Cancel
Save