allow .debug module to load for shared electron/debug modules. filter defines from macros. add bambu check before attempted file send

This commit is contained in:
Stewart Allen 2024-12-10 15:46:21 -05:00
commit fa116bf277
5 changed files with 8 additions and 3 deletions

View file

@ -13,6 +13,7 @@ const modTmp = path.join('tmp','mod');
fs.copySync("mod", modTmp, { dereference: true, filter:(src,dst) => {
const ok =
src === 'mod' ||
src.indexOf('mod/ext-bambu') === 0 ||
src.indexOf('mod/standalone') === 0 ||
src.indexOf('mod/node_modules') === 0;
// console.log(ok, src);