The source code of MeshAgent-master was compiled by myself using Visual Studio 2022
I used Visual Studio 2022 to compile the MeshAgent master source code by myself and modified the code in MeshAgent master\modules\service-manager.js. How to recompile the MeshAgent-master source code to make it effective? In fact, I deleted the "modules" directory and then compiled the MeshAgent-master source code, and it still passed. Why is that? Does compiling the MeshAgent-master source code not rely on the JS files in the modules directory?
I'm here to ask the same question. The modules are compressed and stored as base64 strings in microscript/ILibDuktape_Polyfills.c and this is what actually embeds the modules in the meshagent binary, but I don't se anything in the make that actually does this part of the workflow, nor have I found any documentation. @si458 any insight you may have in this part of the compiling?
https://github.com/Ylianst/MeshAgent/issues/89#issuecomment-949901720
modify js file, put it next to the agent.exe, test all works etc then run command from command line to copy it to clipboard
then replace the polyfill line inside ILibDuktape_Polyfills.c then do a rebuild of your agent
make sure u also use GIT so you can keep track of changes etc