fix(app): build update links from the releases repository address
CI / Build and test (pull_request) Failing after 2m28s
CI / PostgreSQL 16 integration (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Skipped
CI / Docker image (pull_request) Skipped
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 10s
CI / Build and test (pull_request) Failing after 2m28s
CI / PostgreSQL 16 integration (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Skipped
CI / Docker image (pull_request) Skipped
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 10s
Gitea writes a release's html_url and browser_download_url with its ROOT_URL, which on the owner's server is the plain-http LAN address http://192.168.30.23:3000. The update check accepts only https links, so it ignored v0.1.0-rc.1 entirely. The page and download links now come from ChronosReleasesUrl, the address the build names for its users; only the tags, file names and sizes are read from Gitea's answer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f2b58522b9
commit
ee2d32f70f
6 files changed
+67
-16
No files matched your search
+2
-1
@@ -1134,7 +1134,8 @@ for HEIC/RAW so the server can render without a node.
|
||||
repository** (§19.4), `<server>/api/v1/repos/<owner>/<name>/releases?draft=false&pre-release=false`,
|
||||
takes the highest version (a pre-release build is offered the final release of its own
|
||||
version; a 404, a repository the client cannot see, is a failed check, not "up to date"),
|
||||
and shows a one-line notice with "Download" (P1: download
|
||||
builds the release page and download links from `ChronosReleasesUrl` (Gitea writes its own
|
||||
with its ROOT_URL, which clients may not reach), and shows a one-line notice with "Download" (P1: download
|
||||
installer, verify SHA-256 from `SHA256SUMS`, run it). The repository is the build
|
||||
property `ChronosReleasesUrl` (default `https://gitea.encke-hake.ts.net/BalboSoft/Chronos`),
|
||||
which also gives the licence link (`<repository>/src/branch/main/EULA.md`), the issues
|
||||
|
||||
Reference in new issue
Block a user