|
@@ -122,5 +122,8 @@ const extraPath =
|
|
|
|
|
|
- 32/64 切换,`"postinstall": "electron-builder install-app-deps --arch=ia32"`
|
|
|
|
|
|
+- npm config set registry "https://registry.npm.taobao.org/"
|
|
|
+- npm config set ELECTRON_MIRROR "https://npmmirror.com/mirrors/electron/"
|
|
|
+- npm config set ELECTRON_CUSTOM_DIR "v{{ version }}"
|
|
|
|
|
|
-- ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ yarn install
|
|
|
+* ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ yarn install
|