Revert "Merge pull request #3 from JonasKruckenberg/revert-2-feat/window"

This reverts commit 896fc516d3, reversing
changes made to 5d6ea2060c.
This commit is contained in:
Jonas Kruckenberg 2022-11-03 18:57:42 +01:00
parent 896fc516d3
commit 8911f55920
67 changed files with 11705 additions and 573 deletions

View file

@ -0,0 +1,13 @@
use anyhow::ensure;
use tauri_sys::window;
pub async fn create_window() -> anyhow::Result<()> {
let win = window::WebviewWindow::new("foo", ());
ensure!(win.is_visible().await);
// ensure!(win.label() == "foo".to_string());
win.close().await;
Ok(())
}