fix: move desktopbridge dependency to website
This commit is contained in:
parent
282f36c47c
commit
328af5f560
7 changed files with 149 additions and 141 deletions
4
website/src/tauri.mjs
Normal file
4
website/src/tauri.mjs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import { invoke } from '@tauri-apps/api/tauri';
|
||||
|
||||
export const Invoke = invoke;
|
||||
export const isTauri = () => window.__TAURI_IPC__ != null;
|
||||
Loading…
Add table
Add a link
Reference in a new issue