fix: updater API URL — remove /v1/ prefix, Gitea uses /api/packages/ not /api/v1/packages/
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 1m6s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell 2026-03-17 12:22:24 -04:00
parent c782fcc2c3
commit 8b0289d133

View File

@ -75,8 +75,9 @@ func (u *UpdateService) CheckForUpdate() (*UpdateInfo, error) {
}
// Fetch latest package version from the Gitea API.
// Gitea package API — no /v1/ prefix
apiURL := fmt.Sprintf(
"%s/api/v1/packages/%s/generic/%s?limit=1&sort=created_at&direction=desc",
"%s/api/packages/%s/generic/%s?limit=1&sort=created_at&direction=desc",
u.baseURL, u.owner, u.pkg,
)