Closed Akimotorakiyu closed 3 years ago
change way to normalizeVersion to adapt some other electron mirror site
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
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.
I'm so sorry, I don't konw other ruler,
change way to normalizeVersion to adapt some other electron mirror site
fixed by https://npm.taobao.org
eg:
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.