feat(ui): guard desktop-only actions with a clear browser-preview message

This commit is contained in:
pj committed 2026-06-20 14:30:07 -04:00
1 parent f8ddde5e91
commit 5e1582fc39
3 files changed
+20 -4

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
import { invoke } from "@tauri-apps/api/core";
export const isDesktop = typeof window !== "undefined" && "__TAURI_INTERNALS__" in window;
export interface ImageInput {
path: string;
data: string;