brought back functionality from previous builds but now cross-platform

This commit is contained in:
2025-07-07 15:34:34 +03:00
parent 99eafb9443
commit 83bc9b7f16
61 changed files with 1210 additions and 581 deletions

View File

@@ -51,6 +51,7 @@ void IFileSystem2::CopyFile( const char *szDestination, const char *szOrigin )
CUtlString(szDestination),
};
IRunner::Run("cp", args);
IRunner::Wait();
}
void IFileSystem2::CopyDirectory( const char *szDestination, const char *szOrigin )
{
@@ -60,6 +61,7 @@ void IFileSystem2::CopyDirectory( const char *szDestination, const char *szOrigi
CUtlString(szDestination),
};
IRunner::Run("cp", args);
IRunner::Wait();
}
void IFileSystem2::MakeDirectory( const char *psz )
@@ -69,6 +71,7 @@ void IFileSystem2::MakeDirectory( const char *psz )
CUtlString(psz),
};
IRunner::Run("mkdir", args);
IRunner::Wait();
};
bool IFileSystem2::ShouldRecompile(const char *szSource, const char *szOutput)