From abdfab3de42ca31ff3f322687c6b024818081584 Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 19 Nov 2019 10:12:30 -0800 Subject: [PATCH] fix: always initialize proxy support when running the CLI --- src/cli.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cli.js b/src/cli.js index f158c72c..bff20d9a 100644 --- a/src/cli.js +++ b/src/cli.js @@ -2,6 +2,7 @@ const { hostInfo, warning } = require('./common') const fs = require('fs-extra') +const { initializeProxy } = require('@electron/get') const packager = require('..') const path = require('path') const yargs = require('yargs-parser') @@ -117,6 +118,8 @@ module.exports = { await printUsageAndExit(true) } + initializeProxy() + try { const appPaths = await packager(args) if (appPaths.length > 1) {