fix wrong-name error

This commit is contained in:
tobid7 2024-03-10 07:39:19 +01:00
parent 26ed5a1398
commit a1e6b963d4

View File

@ -464,11 +464,11 @@ void CompileProject(NpiProject &prj, std::string dir_)
std::string res_f = dir_ + "/build/" + fix_path(it.stem().stem().string()) + ".shbin ";
std::string command = dkp_env + "/tools/bin/picasso -o " +
res_f + fix_path(it.string());
std::cout << CCMAGENTA << "Generating: " << CCCYAN << fix_path(it.filename().string())
std::cout << CCMAGENTA << "Generating: " << CCCYAN << res_f
<< std::endl;
int reqres = system(command.c_str());
std::cout << (reqres == 0 ? CCGREEN : CCRED)
<< (reqres == 0 ? "[+] " : "[-] ") << fix_path(it.filename().string())
<< (reqres == 0 ? "[+] " : "[-] ") << res_f
<< std::endl;
if (reqres != 0)
any_errors = true;