提交 41025928 编写于 作者: B Benjamin Pasero

bootstrap - fix more compile errors

上级 ae64039e
......@@ -13,7 +13,7 @@ const bootstrapNode = require('./bootstrap-node');
bootstrapNode.removeGlobalNodeModuleLookupPaths();
// Enable ASAR in our forked processes
bootstrap.enableASARSupport();
bootstrap.enableASARSupport(undefined);
if (process.env['VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH']) {
bootstrapNode.injectNodeModuleLookupPath(process.env['VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH']);
......
......@@ -180,7 +180,7 @@
//#region Portable helpers
/**
* @param {{ portable: string; applicationName: string; }} product
* @param {{ portable: string | undefined; applicationName: string; }} product
* @returns {{ portableDataPath: string; isPortable: boolean; } | undefined}
*/
function configurePortable(product) {
......
......@@ -16,7 +16,7 @@ bootstrap.avoidMonkeyPatchFromAppInsights();
bootstrap.configurePortable(product);
// Enable ASAR support
bootstrap.enableASARSupport();
bootstrap.enableASARSupport(undefined);
// Load CLI through AMD loader
require('./bootstrap-amd').load('vs/code/node/cli');
......@@ -28,7 +28,7 @@ app.allowRendererProcessReuse = false;
const portable = bootstrap.configurePortable(product);
// Enable ASAR support
bootstrap.enableASARSupport();
bootstrap.enableASARSupport(undefined);
// Set userData path before app 'ready' event
const args = parseCLIArgs();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册