v0.3.8-pre.006-fix.001

This commit is contained in:
2026-09-03 16:28:13 +02:00
parent 3a38914be7
commit 8130e01b70
11 changed files with 139 additions and 29 deletions

View File

@@ -1,12 +1,12 @@
// file: crates/ksp-app-store-desk/src/tw_main.rs
// version: 1
// version: 2
//! Tauri-window helpers for the Store Desk main window.
use tauri::Manager; // rust-rules: trait-import
/// Crate-internal `WINDOW_LABEL_MAIN` constant.
pub(crate) const WINDOW_LABEL_MAIN: &str = "main";
/// Private main-window label owned by this module.
const WINDOW_LABEL_MAIN: &str = "main";
/// Resolves the required main window or returns a typed error.
pub(crate) fn require_main_window(manager: &impl Manager<tauri::Wry>) -> ksp_core_lib::Result<tauri::WebviewWindow> {