mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-30 07:07:17 +02:00
Add a typed platform package to decouple the frontend from Tauri (#539)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
0068be9ffc
commit
2383f06e71
@@ -1,6 +1,6 @@
|
||||
import { type } from "@tauri-apps/plugin-os";
|
||||
import { platform } from "@yaakapp-internal/platform";
|
||||
|
||||
const os = type();
|
||||
const os = platform.osType();
|
||||
export const revealInFinderText =
|
||||
os === "macos"
|
||||
? "Reveal in Finder"
|
||||
|
||||
Reference in New Issue
Block a user