fix(build): 更新 electron / electron-builder 二进制镜像地址 - #185
Open
Albert0516 wants to merge 1 commit into
Open
Conversation
旧 electron_mirror (npmmirror.com/mirrors/electron/) 已不稳定,下载 Electron 二进制常超时;换成 registry.npmmirror.com/-/binary/electron/。并补 electron_builder_binaries_mirror,避免 pnpm package 打包时下载 nsis/winCodeSign 等 electron-builder 二进制超时。 Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
Affected Areas & Test SelectionNo area matched. Only P0 specs will run as baseline. Changed files: 1
Top changed symbols (by caller count):
E2E specs that will run on this PR:
Generated by Impact Analysis workflow. This is informational, not a gate. |
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
旧
electron_mirror(npmmirror.com/mirrors/electron/)已不稳定,下载 Electron 二进制常超时,影响本地打包 / CI 打包。改动(仅
.npmrc)electron_mirror→https://registry.npmmirror.com/-/binary/electron/(新可用地址)electron_builder_binaries_mirror→https://registry.npmmirror.com/-/binary/electron-builder-binaries/,避免pnpm package时下载 nsis / winCodeSign 等 electron-builder 二进制超时。影响面
仅打包/安装期镜像配置,不动任何运行时代码;
registry(npm 包源)不变。验证
pnpm package(或触发 release 流程的下载步骤)确认两个镜像可达、不再超时。🤖 Generated with Claude Code