From 4047014cea51dfa00c1f7463111a17025a9ae6c9 Mon Sep 17 00:00:00 2001 From: tolelom <98kimsungmin@naver.com> Date: Tue, 24 Feb 2026 22:22:49 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=20?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=20=ED=8E=98=EC=9D=B4=EC=A7=80=EC=97=90=20fil?= =?UTF-8?q?eHash=20=EC=9E=85=EB=A0=A5=20=ED=95=84=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/components/admin/DownloadAdmin.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/admin/DownloadAdmin.jsx b/src/components/admin/DownloadAdmin.jsx index 721d724..415478c 100644 --- a/src/components/admin/DownloadAdmin.jsx +++ b/src/components/admin/DownloadAdmin.jsx @@ -4,7 +4,7 @@ import { apiFetch } from '../../api/client'; import './AdminCommon.css'; export default function DownloadAdmin() { - const [form, setForm] = useState({ url: '', version: '', fileName: '', fileSize: '' }); + const [form, setForm] = useState({ url: '', version: '', fileName: '', fileSize: '', fileHash: '' }); const [loading, setLoading] = useState(false); const [saved, setSaved] = useState(false); @@ -15,6 +15,7 @@ export default function DownloadAdmin() { version: data.version, fileName: data.fileName, fileSize: data.fileSize, + fileHash: data.fileHash ?? '', })) .catch(() => {}); }, []); @@ -52,8 +53,9 @@ export default function DownloadAdmin() {
{field('다운로드 URL', 'url', 'https://...')} {field('버전', 'version', 'v1.0.0')} - {field('파일명', 'fileName', 'A301_Launcher.exe')} + {field('파일명', 'fileName', 'A301_Launcher.zip')} {field('파일 크기', 'fileSize', '1.2 GB')} + {field('A301.exe SHA256 해시', 'fileHash', 'sha256 해시값 (certutil -hashfile A301.exe SHA256)')}