diff --git a/ui/src/util.ts b/ui/src/util.ts index 145e05e..4ed87d7 100644 --- a/ui/src/util.ts +++ b/ui/src/util.ts @@ -51,4 +51,4 @@ export const getMyDna = async (role:string, client: AppClient) : Promise (window as any).__TAURI__ !== undefined; \ No newline at end of file +export const isTauriContext = () => (window as any).__TAURI_INTERNALS__ !== undefined; \ No newline at end of file