Cleaned up UI and added a way to build .net project from the editor

This commit is contained in:
Antoine Pilote
2023-10-27 01:32:17 -04:00
parent cb51ecc119
commit 6ef9521059
10 changed files with 76 additions and 7 deletions

View File

@@ -139,6 +139,16 @@ namespace Nuake {
return path;
}
void OS::CompileSln(const std::string& slnPath)
{
int result = system(std::string("dotnet build " + slnPath).c_str());
if (result != 0)
{
Logger::Log("Failed to execute `dotnet build` command.", "OS", CRITICAL);
}
}
void OS::OpenURL(const std::string& url)
{
#ifdef NK_WIN