0.1.0-1-alpha.2-fix.2
This commit is contained in:
18
crates/apps/game-reflex-poc-tauri/src/runtime.rs
Normal file
18
crates/apps/game-reflex-poc-tauri/src/runtime.rs
Normal file
@@ -0,0 +1,18 @@
|
||||
// file: crates/apps/game-reflex-poc-tauri/src/runtime.rs
|
||||
// version: 1
|
||||
|
||||
/// Stable label for the current Tauri/WASM runtime combination.
|
||||
pub(crate) fn runtime_label() -> &'static str {
|
||||
return "Desktop / TauriWebView / Wasm / KeyboardMouse";
|
||||
}
|
||||
|
||||
/// Records that the frontend completed its startup sequence.
|
||||
pub(crate) fn record_frontend_ready() {
|
||||
tracing::info!(
|
||||
target: "games::tauri::reflex",
|
||||
action = "frontend_ready",
|
||||
runtime = crate::runtime_label(),
|
||||
"Reflex Tauri frontend ready"
|
||||
);
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user