This commit is contained in:
parent
5db7a74047
commit
50ee204b02
3 changed files with 4 additions and 5 deletions
|
|
@ -35,16 +35,13 @@ namespace Crafter {
|
|||
throw std::runtime_error(std::format("Project file: {} not found.", this->path.generic_string()));
|
||||
}
|
||||
|
||||
std::cout << "bruh3" << std::endl;
|
||||
std::ifstream f(this->path);
|
||||
std::cout << this->path << std::endl;
|
||||
nlohmann::json data;
|
||||
try {
|
||||
data = nlohmann::json::parse(f);
|
||||
} catch(std::exception& e) {
|
||||
std::cout << e.what() << std::endl;
|
||||
}
|
||||
std::cout << "bruh4" << std::endl;
|
||||
name = data["name"].get<std::string>();
|
||||
|
||||
this->path.remove_filename();
|
||||
|
|
@ -241,8 +238,10 @@ namespace Crafter {
|
|||
}
|
||||
});
|
||||
|
||||
std::cout << "before dir" << std::endl;
|
||||
fs::path exeDir = GetPath();
|
||||
|
||||
std::cout << "before std" << std::endl;
|
||||
BuildStdPcm(*this, config);
|
||||
|
||||
std::string editedTarget = config.target;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue