import { invoke } from "@tauri-apps/api/core"; export async function exitApp(code?: number): Promise { return await invoke("plugin:app-exit|exit_app", { code }); }