1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-02-08 12:40:05 +00:00

Added version flag to readdirSync(), so can be patched easily on server side if necessary

This commit is contained in:
Bryan Roe
2022-10-14 11:11:48 -07:00
parent 62bcda48c9
commit b60391b1c3

View File

@@ -2608,6 +2608,7 @@ void ILibDuktape_fs_PUSH(duk_context *ctx, void *chain)
if(sysnative) { ret.push('sysnative'); }\
return(ret);\
};\
exports.readdirSync.version=1;\
}";
ILibDuktape_ModSearch_AddHandler_AlsoIncludeJS(ctx, copyFile, sizeof(copyFile) - 1);
}