버전 불일치 문제

This commit is contained in:
Macbook
2026-06-14 20:01:33 +09:00
parent a6a3bfbe38
commit dec812089d
8 changed files with 180 additions and 55 deletions
+15 -1
View File
@@ -161,7 +161,7 @@ const PlatformCard: React.FC<{
const configs = {
mac: { label: 'macOS (Apple Silicon · Intel)', icon: '🍎', ext: '.dmg', isLink: false },
windows: { label: 'Windows (64-bit)', icon: '🪟', ext: '.exe', isLink: false },
android: { label: 'Android (패드 · 폰)', icon: '🤖', ext: '.apk', isLink: false },
android: { label: 'Android (패드 · 폰 · 별도 버전)', icon: '🤖', ext: '.apk', isLink: false },
} as const;
const { label, icon, ext } = configs[platform];
@@ -435,6 +435,14 @@ const DesktopTab: React.FC<{ canBuildDesktop: boolean }> = ({ canBuildDesktop })
const hasAny = info?.mac?.available || info?.windows?.available || mobileInfo?.available;
const desktopVersionMismatch = Boolean(
info?.version
&& (
(info.mac?.available && info.mac.version && info.mac.version !== info.version)
|| (info.windows?.available && info.windows.version && info.windows.version !== info.version)
),
);
if (loading) return <p className="app-download-muted">PC </p>;
if (error) return <p className="app-download-error">{error}</p>;
@@ -468,6 +476,12 @@ const DesktopTab: React.FC<{ canBuildDesktop: boolean }> = ({ canBuildDesktop })
)}
</div>
{desktopVersionMismatch && (
<p className="app-download-error" style={{ marginBottom: 8 }}>
macOS·Windows (v{info?.version}) . .
</p>
)}
{showBuildProgress && (
<DesktopBuildProgressPanel
status={buildStatus}