fix: Windows updater — platform-specific reinstall hints for v0.1.1 pubkey error

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-14 12:26:28 +09:00
parent c0a23e4057
commit e658d9afe4
3 changed files with 32 additions and 2 deletions
+12
View File
@@ -24,3 +24,15 @@ export function getRuntimePlatform(): RuntimePlatform {
export function isWeb(): boolean {
return getRuntimePlatform() === 'web';
}
/** Tauri 데스크톱 — Windows WebView2 */
export function isWindowsDesktop(): boolean {
if (!isDesktop()) return false;
return typeof navigator !== 'undefined' && /win/i.test(navigator.userAgent);
}
/** Tauri 데스크톱 — macOS */
export function isMacDesktop(): boolean {
if (!isDesktop()) return false;
return typeof navigator !== 'undefined' && /mac/i.test(navigator.userAgent);
}