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:
parent
0cd9ec0f39
commit
fa116bf277
5 changed files with 8 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue