electron / get

Download Electron release artifacts
https://npm.im/@electron/get
MIT License
338 stars 106 forks source link

change way to normalizeVersion to adapt some other electron mirror site #180

Closed Akimotorakiyu closed 3 years ago

Akimotorakiyu commented 3 years ago

change way to normalizeVersion to adapt some other electron mirror site

fixed by https://npm.taobao.org

eg:

mirror https://npm.taobao.org/mirrors/electron mirror https://npm.taobao.org/mirrors/chromedriver/

https://npm.taobao.org/mirrors/electron/11.1.1/electron-v11.1.1-win32-x64.zip

if I set electron_mirror to https://npm.taobao.org/mirrors/electron/, it get https://npm.taobao.org/mirrors/electron/11.1.1/electron-v11.1.1-win32-x64.zip which is incorrect path.

Akimotorakiyu commented 3 years ago

I'm so sorry, I don't konw other ruler,