Skip to content

Commit

Permalink
fix(create-electron): fix: electron mirror not work
Browse files Browse the repository at this point in the history
  • Loading branch information
alex8088 committed Jan 21, 2024
1 parent c3f6ad3 commit aa4d69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-electron/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ async function init() {

let npmrc = ''
if (needsMirror) {
npmrc = 'ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/\n'
npmrc = 'electron_mirror=https://npmmirror.com/mirrors/electron/\n'
}

if (pkgManager === 'pnpm' && !skip) {
Expand Down

0 comments on commit aa4d69e

Please sign in to comment.