fix(site): link mobile APK and desktop EXE directly to Forgejo release attachments
Some checks failed
deploy-site / deploy (push) Failing after 28s
deploy-site-windows / deploy-win (push) Successful in 41s

This commit is contained in:
Yun Chan 2026-08-20 23:04:53 +09:00
parent 3e4ca38926
commit 692338926d
2 changed files with 18 additions and 15 deletions

View file

@ -20,7 +20,7 @@ export const OS_CONFIGS: Record<ClientOSType, ClientOSInfo> = {
os: 'android',
osName: 'Android',
isMobile: true,
downloadUrl: 'https://d3ro.chanpaca.net/releases/1.0.0/d3ro-voice-v1.0.0-signed.apk',
downloadUrl: 'https://git.chanpaca.net/attachments/5220bdb9-e8ce-4d6a-b016-dab08dd756b8',
downloadFilename: 'd3ro-voice-v1.0.0-signed.apk',
badgeText: 'ANDROID APK v1.0.0',
buttonLabelKo: 'Android용 무료 다운로드 (APK)',
@ -44,7 +44,7 @@ export const OS_CONFIGS: Record<ClientOSType, ClientOSInfo> = {
os: 'windows',
osName: 'Windows',
isMobile: false,
downloadUrl: 'https://d3ro.chanpaca.net/releases/1.0.0/D3RO-Voice-Setup-1.0.0-x64.exe',
downloadUrl: 'https://git.chanpaca.net/attachments/c281a224-2538-496a-bf74-bc188938c734',
downloadFilename: 'D3RO-Voice-Setup-1.0.0-x64.exe',
badgeText: 'WINDOWS x64 v1.0.0',
buttonLabelKo: 'Windows용 무료 다운로드',

View file

@ -136,10 +136,10 @@ export function Download() {
<a
href={
detectedOs === 'mac'
? '/releases/1.0.0/D3RO-Voice-1.0.0-arm64.dmg'
: '/releases/1.0.0/D3RO-Voice-Setup-1.0.0-x64.exe'
? 'https://git.chanpaca.net/yunchan/d3ro-voice/releases'
: 'https://git.chanpaca.net/attachments/c281a224-2538-496a-bf74-bc188938c734'
}
download
download={detectedOs === 'mac' ? undefined : 'D3RO-Voice-Setup-1.0.0-x64.exe'}
className="w-full py-4 px-8 rounded-xl bg-brand-amber hover:bg-brand-amber-light text-white font-mono text-sm font-bold uppercase tracking-wider flex items-center justify-center gap-3 shadow-glow-sm hover:shadow-glow-md transition-all active:scale-[0.99]"
>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5">
@ -204,16 +204,17 @@ export function Download() {
<div className="space-y-2">
<a
href="/releases/1.0.0/D3RO-Voice-Setup-1.0.0-x64.exe"
download
href="https://git.chanpaca.net/attachments/c281a224-2538-496a-bf74-bc188938c734"
download="D3RO-Voice-Setup-1.0.0-x64.exe"
className="w-full py-2.5 px-4 rounded-lg bg-surface-700 hover:bg-surface-600 border border-white/[0.08] hover:border-brand-amber/40 text-neutral-200 font-mono text-xs flex items-center justify-between transition-all"
>
<span className="font-semibold">Setup Installer (.exe)</span>
<span className="text-neutral-400">102 MB</span>
</a>
<a
href="/releases/1.0.0/D3RO-Voice-Setup-1.0.0-x64.exe.blockmap"
download
href="https://git.chanpaca.net/yunchan/d3ro-voice/releases"
target="_blank"
rel="noreferrer"
className="w-full py-2 px-4 rounded-lg bg-surface-900/40 text-neutral-500 font-mono text-[11px] flex items-center justify-between"
>
<span>Blockmap (.blockmap)</span>
@ -239,16 +240,18 @@ export function Download() {
<div className="space-y-2">
<a
href="/releases/1.0.0/D3RO-Voice-1.0.0-arm64.dmg"
download
href="https://git.chanpaca.net/yunchan/d3ro-voice/releases"
target="_blank"
rel="noreferrer"
className="w-full py-2.5 px-4 rounded-lg bg-surface-700 hover:bg-surface-600 border border-white/[0.08] hover:border-purple-400/40 text-neutral-200 font-mono text-xs flex items-center justify-between transition-all"
>
<span className="font-semibold">Apple Silicon DMG (.dmg)</span>
<span className="text-neutral-400">98 MB</span>
</a>
<a
href="/releases/1.0.0/D3RO-Voice-1.0.0-arm64-mac.zip"
download
href="https://git.chanpaca.net/yunchan/d3ro-voice/releases"
target="_blank"
rel="noreferrer"
className="w-full py-2 px-4 rounded-lg bg-surface-900/40 text-neutral-500 font-mono text-[11px] flex items-center justify-between"
>
<span>Portable (.zip)</span>
@ -274,12 +277,12 @@ export function Download() {
<div className="space-y-2">
<a
href="/releases/1.0.0/d3ro-voice-v1.0.0-signed.zip"
href="https://git.chanpaca.net/attachments/5220bdb9-e8ce-4d6a-b016-dab08dd756b8"
download="d3ro-voice-v1.0.0-signed.apk"
className="w-full py-2.5 px-4 rounded-lg bg-surface-700 hover:bg-surface-600 border border-white/[0.08] hover:border-emerald-400/40 text-neutral-200 font-mono text-xs flex items-center justify-between transition-all"
>
<span className="font-semibold">Android Release APK (.apk)</span>
<span className="text-emerald-400">Download (47MB) </span>
<span className="text-emerald-400">Download (47.5MB) </span>
</a>
<a
href="#download"