bootstrap - move portable mode into bootstrap-node

This commit is contained in:
Benjamin Pasero
2020-11-25 08:46:40 +01:00
parent 2433e29383
commit 1460908e18
4 changed files with 92 additions and 96 deletions

View File

@@ -7,13 +7,14 @@
'use strict';
const bootstrap = require('./bootstrap');
const bootstrapNode = require('./bootstrap-node');
const product = require('../product.json');
// Avoid Monkey Patches from Application Insights
bootstrap.avoidMonkeyPatchFromAppInsights();
// Enable portable support
bootstrap.configurePortable(product);
bootstrapNode.configurePortable(product);
// Enable ASAR support
bootstrap.enableASARSupport(undefined);