From 34c749c9c6b2627ab8a86185deb18ed6082eb24c Mon Sep 17 00:00:00 2001 From: tianhao Date: Thu, 23 Jul 2026 19:27:55 +0800 Subject: [PATCH] =?UTF-8?q?merge:=20=E5=90=88=E5=B9=B6.npmrc=E5=86=B2?= =?UTF-8?q?=E7=AA=81=EF=BC=8C=E4=BF=9D=E7=95=99=E8=BF=9C=E7=A8=8Bregistry?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E5=92=8C=E6=9C=AC=E5=9C=B0Electron=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.npmrc b/.npmrc index fb3b78f..dbf4943 100644 --- a/.npmrc +++ b/.npmrc @@ -2,3 +2,9 @@ registry=https://registry.npmmirror.com @metona-team:registry=https://git.metona.cn/api/packages/MetonaTeam/npm/ //git.metona.cn/api/packages/MetonaTeam/npm/:_auth=dGh6eHg6Mjc5MjQ2MDE5MGJkcW4= //git.metona.cn/api/packages/MetonaTeam/npm/:always-auth=true + +# 允许包的 postinstall 脚本(electron 需要下载二进制文件) +ignore-scripts=false + +# Electron 二进制下载镜像(国内加速,在终端设置环境变量) +# $env:ELECTRON_MIRROR="https://npmmirror.com/mirrors/electron/"