feat(site): offer the real installer from the release center
The download section described a release as pending while the product was already installable, and its installer link pointed at a path the site build never ships, so a visitor would have reached a missing file. The section now states the released version and links the published update feed that the desktop client itself uses, with the release notes and hash metadata one click away. Repeated color literals behind the hero animation moved into named tokens.
This commit is contained in:
parent
94d8bb8ebe
commit
c2db1b2176
5 changed files with 93 additions and 41 deletions
22
site/src/release.ts
Normal file
22
site/src/release.ts
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
// site/src/release.ts
|
||||
// 데스크톱 공식 릴리스 계약 SSOT.
|
||||
//
|
||||
// 설치 파일은 canonical Forgejo feed에서만 배포한다. 사이트 빌드(site/dist)와
|
||||
// NAS 배포는 바이너리를 포함하지 않으므로 `/releases/...` 같은 로컬 경로는
|
||||
// 실제 배포 환경에서 404가 된다.
|
||||
|
||||
export const DESKTOP_VERSION = '1.1.0'
|
||||
|
||||
const FORGEJO_ORIGIN = 'https://git.chanpaca.net'
|
||||
const FORGEJO_OWNER = 'yunchan'
|
||||
const FORGEJO_REPO = 'd3ro-voice'
|
||||
|
||||
/** Registry 안에서 항상 최신 설치 자산을 가리키는 feed 루트 (updater와 동일). */
|
||||
export const DESKTOP_FEED_URL = `${FORGEJO_ORIGIN}/api/packages/${FORGEJO_OWNER}/generic/${FORGEJO_REPO}/latest`
|
||||
|
||||
export const DESKTOP_WINDOWS_INSTALLER_FILENAME = `D3RO-Voice-Setup-${DESKTOP_VERSION}-x64.exe`
|
||||
|
||||
export const DESKTOP_WINDOWS_INSTALLER_URL = `${DESKTOP_FEED_URL}/${DESKTOP_WINDOWS_INSTALLER_FILENAME}`
|
||||
|
||||
/** Forgejo Release 허브 (릴리스 노트 + 자산 첨부). */
|
||||
export const DESKTOP_RELEASE_HUB_URL = `${FORGEJO_ORIGIN}/${FORGEJO_OWNER}/${FORGEJO_REPO}/releases/tag/v${DESKTOP_VERSION}`
|
||||
Loading…
Add table
Add a link
Reference in a new issue