fix: move desktopbridge dependency to website

This commit is contained in:
Felix Roos 2023-08-31 05:10:17 +02:00
parent 282f36c47c
commit 328af5f560
7 changed files with 149 additions and 141 deletions

4
website/src/tauri.mjs Normal file
View file

@ -0,0 +1,4 @@
import { invoke } from '@tauri-apps/api/tauri';
export const Invoke = invoke;
export const isTauri = () => window.__TAURI_IPC__ != null;