fix: restore dedicated update repository

This commit is contained in:
mac
2026-07-15 18:04:01 +08:00
parent 322807c68d
commit 232aa41192
7 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -280,8 +280,8 @@ function sendUpdate(channel, data) {
if (mainWindow && !mainWindow.isDestroyed()) mainWindow.webContents.send(channel, data);
}
const UPDATE_OWNER = "backup-bot";
const UPDATE_REPO = "backup";
const UPDATE_OWNER = "mhgmh";
const UPDATE_REPO = "codex-market-app";
// 自建 gitea 发布源(国内可达、匿名可读):完整包更新和热更都走这里。
// up 域名给 API/直连,update 域名给用户浏览下载页(管理登录会话在此)。
const GITEA_RELEASES_API = `https://up.tokendun.cc/api/v1/repos/${UPDATE_OWNER}/${UPDATE_REPO}/releases/latest`;