Revert "feat: add window module"
This commit is contained in:
parent
5d6ea2060c
commit
a36e787bbb
67 changed files with 573 additions and 11705 deletions
|
@ -1,13 +0,0 @@
|
|||
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(())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue