mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
parent
b86e756520
commit
addb9c65fe
@ -68,7 +68,7 @@ async function update(isDdownload) {
|
|||||||
if (download_url.length) {
|
if (download_url.length) {
|
||||||
if (isDdownload) {
|
if (isDdownload) {
|
||||||
await try_for_each(download_url.entries(), async ([i, url]) => {
|
await try_for_each(download_url.entries(), async ([i, url]) => {
|
||||||
let proxy_url = "https://ghproxy.com/";
|
let proxy_url = "https://mirror.ghproxy.com/";
|
||||||
proxy_url += url
|
proxy_url += url
|
||||||
log.warn('自动下载', `切换代理${proxy_url}`)
|
log.warn('自动下载', `切换代理${proxy_url}`)
|
||||||
await download(proxy_url, `latest_version${i}.zip`)
|
await download(proxy_url, `latest_version${i}.zip`)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user