chore: rebuild external ui updater

This commit is contained in:
wwqgtxx
2024-10-05 13:40:00 +08:00
parent c63a851bba
commit 9286e21026
4 changed files with 74 additions and 56 deletions

View File

@@ -47,7 +47,7 @@ func upgradeCore(w http.ResponseWriter, r *http.Request) {
}
func updateUI(w http.ResponseWriter, r *http.Request) {
err := updater.DownloadUI()
err := updater.DefaultUiUpdater.DownloadUI()
if err != nil {
log.Warnln("%s", err)
render.Status(r, http.StatusInternalServerError)