Skip to content

Commit

Permalink
Fixed download script
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Nov 11, 2021
1 parent a1c980f commit 8e4d16b
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 13 deletions.
82 changes: 72 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/app/main/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/app
/installer
/dist
/dist
/customElectron
2 changes: 2 additions & 0 deletions packages/app/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-typescript": "^7.1.0",
"@electron/get": "^1.13.1",
"@types/async": "^2.0.47",
"@types/chokidar": "^1.7.5",
"@types/formidable": "^1.0.30",
Expand Down Expand Up @@ -110,6 +111,7 @@
"eslint-plugin-import": "2.20.0",
"eslint-plugin-notice": "^0.7.7",
"eslint-plugin-prettier": "^3.0.1",
"extract-zip": "^2.0.1",
"fancy-log": "^1.3.2",
"jest": "24.8.0",
"license-list": "^0.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/app/main/scripts/downloadAndExtractElectron.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ async function downloadAndExtract() {
// download the custom build of Electron
const zipPath = await download(electronVersion, {
mirrorOptions: {
mirror: process.env.MSFT_ELECTRON_DIR,
customDir: process.env.MSFT_ELECTRON_MIRROR,
mirror: process.env.MSFT_ELECTRON_MIRROR,
customDir: process.env.MSFT_ELECTRON_DIR,
},
});
console.log(`Electron successfully downloaded to ${zipPath}`);
Expand Down

0 comments on commit 8e4d16b

Please sign in to comment.