Open amoljagdalepucsd opened 1 year ago
Hi @amoljagdalepucsd! You need to import modified js after build meshagent, it's explained in #167. For linux, it will be these command:
./meshagent_x86-64 -export
edit files in modules_expanded dir, then make encode\compile ILibDuktape_Polyfills.c
./meshagent_x86-64 -exec "require('code-utils').shrink({modulesPath:'${PWD}/modules',filePath:'${PWD}/microscript/ILibDuktape_Polyfills.c'});process.exit();"
then build agent again
ALSO, just discovered, you can actually just place the .js files next to meshagent.exe, restart meshagent and it loads that module if it exists!
Hi Mesh central Community , I want to change win-userconsent.js and win-dialog.js in modules and build the agent but changes made in agent-installer.js is not reflecting Can you help me in this. @si458