Neural data cache
This commit is contained in:
@@ -238,7 +238,7 @@ fs::path find_root() {
|
||||
static_cast<DWORD>(buffer.size()));
|
||||
fs::path candidate = fs::path(std::wstring(buffer.data(), length)).parent_path();
|
||||
while (!candidate.empty()) {
|
||||
if (fs::exists(candidate / L"Szilassi.slnx") &&
|
||||
if (fs::exists(candidate / L"CMakeLists.txt") &&
|
||||
fs::exists(candidate / L"data" / L"topologies.txt")) {
|
||||
return candidate;
|
||||
}
|
||||
@@ -337,7 +337,8 @@ bool start_process(
|
||||
if (!fs::exists(exe)) {
|
||||
const std::wstring message =
|
||||
L"Не найден исполняемый файл:\n" + exe.wstring() +
|
||||
L"\n\nСоберите Szilassi.slnx в конфигурации Release|x64.";
|
||||
L"\n\nСоберите preset vs2026-release через CMake или отдельно "
|
||||
L"projects\\Szilassi\\Szilassi.vcxproj в конфигурации Release|x64.";
|
||||
MessageBoxW(g_main_window, message.c_str(), L"Файл не найден", MB_OK | MB_ICONWARNING);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user