MCPcopy Create free account
hub / github.com/AdbAutoPlayer/AdbAutoPlayer / show_window

Function show_window

src-tauri/src/window.rs:7–9  ·  view source on GitHub ↗
(app: AppHandle)

Source from the content-addressed store, hash-verified

5
6#[tauri::command]
7pub fn show_window(app: AppHandle) -> Result<(), String> {
8 internal_show_window(&app).map_err(|e| e.to_string())
9}
10
11pub fn internal_show_window(app: &AppHandle) -> Result<(), Box<dyn std::error::Error>> {
12 if let Some(window) = app.get_webview_window("main") {

Callers

nothing calls this directly

Calls 1

internal_show_windowFunction · 0.85

Tested by

no test coverage detected