fix: remove ConsoleInit condition, add ToggleFullscreen condition, helper 'push' just recipe

This commit is contained in:
Ryan Walters
2025-09-11 13:49:44 -05:00
parent b58a7a8f63
commit 82cedf7e4a
3 changed files with 4 additions and 1 deletions

View File

@@ -42,3 +42,6 @@ web *args:
fix:
cargo fix --workspace --lib --allow-dirty
cargo fmt --all
push:
git push origin --tags && git push

View File

@@ -54,7 +54,6 @@ pub enum AssetError {
#[derive(thiserror::Error, Debug)]
pub enum PlatformError {
#[error("Console initialization failed: {0}")]
#[cfg(any(windows, target_os = "emscripten"))]
ConsoleInit(String),
}

View File

@@ -22,6 +22,7 @@ pub enum GameCommand {
/// TODO: Display pause state, fix debug rendering pause distress
TogglePause,
/// Toggle fullscreen mode (desktop only)
#[cfg(not(target_os = "emscripten"))]
ToggleFullscreen,
}