mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
fixes for launcher, as discussed on forums:
- renamed files that should be preprocessed with moc: they will have _moc suffix (cpp files were also renamed for consistency) - fixed disabling of mods that have dependent on them mods - repositories will be reloaded if changed - may have fixed non-starting vcmi client on Win
This commit is contained in:
@@ -60,6 +60,11 @@ std::string VCMIDirs::libraryPath() const
|
||||
return userDataPath();
|
||||
}
|
||||
|
||||
std::string VCMIDirs::clientPath() const
|
||||
{
|
||||
return userDataPath() + "\\" + "VCMI_client.exe";
|
||||
}
|
||||
|
||||
std::string VCMIDirs::serverPath() const
|
||||
{
|
||||
return userDataPath() + "\\" + "VCMI_server.exe";
|
||||
@@ -96,9 +101,14 @@ std::string VCMIDirs::libraryPath() const
|
||||
return ".";
|
||||
}
|
||||
|
||||
std::string VCMIDirs::clientPath() const
|
||||
{
|
||||
return userDataPath() + "\\" + "VCMI_client.exe";
|
||||
}
|
||||
|
||||
std::string VCMIDirs::serverPath() const
|
||||
{
|
||||
return "./vcmiserver";
|
||||
return userDataPath() + "\\" + "VCMI_server.exe";
|
||||
}
|
||||
|
||||
std::vector<std::string> VCMIDirs::dataPaths() const
|
||||
@@ -125,6 +135,11 @@ std::string VCMIDirs::libraryPath() const
|
||||
return M_LIB_DIR;
|
||||
}
|
||||
|
||||
std::string VCMIDirs::clientPath() const
|
||||
{
|
||||
return std::string(M_BIN_DIR) + "/" + "vcmiclient";
|
||||
}
|
||||
|
||||
std::string VCMIDirs::serverPath() const
|
||||
{
|
||||
return std::string(M_BIN_DIR) + "/" + "vcmiserver";
|
||||
|
||||
Reference in New Issue
Block a user