Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/wayzer/ext/autoUpdate.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ val enableUpdate by config.key(false, "是否开启自动更新")
val source by config.key("Anuken/Mindustry", "服务端来源,Github仓库")
val onlyInNight by config.key(false, "仅在凌晨自动更新", "本地时间1:00到7:00")
val useMirror by config.key(false, "使用镜像加速下载")
val mirror by config.key("https://gh.tinylake.tech", "GH镜像源")
val mirror by config.key("https://gh.tinylake.top", "GH镜像源")

suspend fun download(url: String, file: File): Int = runInterruptible(Dispatchers.IO) {
val steam = URL(url).openStream()
Expand Down Expand Up @@ -119,4 +119,4 @@ command("forceUpdate", "强制更新服务器版本") {
}
}
}
}
}
Loading