使用lua实现npk操作

This commit is contained in:
2025-09-03 09:34:30 +08:00
parent 25e7cff75d
commit 80390e48a7
10 changed files with 34 additions and 354 deletions
+2 -2
View File
@@ -27,10 +27,10 @@ uint8_t* readFileToBuffer(const char* filename, int64_t& outSize);
void freeFileBuffer(uint8_t* buffer);
// Clears the specified path by deleting all files and optionally removing the directory itself.
bool clearPath(const char* szPath, bool recursion, bool removeSelf);
bool clearPath(const wchar_t* szPath, bool recursion, bool removeSelf);
//Creates an empty directory at the specified path. If the path already exists and is a directory, clears its contents.
bool createEmptyPath(const char* szPath);
bool createEmptyPath(const wchar_t* szPath);
// Force create a directory path, ensuring all parent directories are created as needed.
bool forceCreatePath(const wchar_t* szPath);