Revert "feat: add window module"

This commit is contained in:
Jonas Kruckenberg 2022-11-03 18:55:39 +01:00 committed by GitHub
parent 5d6ea2060c
commit a36e787bbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
67 changed files with 573 additions and 11705 deletions

View file

@ -1,10 +0,0 @@
use anyhow::ensure;
use tauri_sys::{event, tauri};
pub async fn emit() -> anyhow::Result<()> {
event::emit("foo", &"bar").await;
ensure!(tauri::invoke::<_, bool>("verify_receive", &()).await.unwrap());
Ok(())
}