Commit Graph

5 Commits

Author SHA1 Message Date
GarandPLG 6a43b28e67 Update package metadata and description
- Define `pname` once and inherit it in the package definition.
- Change description to “TUI underground RTS”.
- Set `mainProgram` to `pname` for consistency.
2026-04-17 16:21:40 +02:00
GarandPLG 8e67166c58 Make helpers public and improve Nix packaging
Export `block_title` and `helpers` with `pub mod` for external use.
Add Nix improvements: version check hook, update script, install check.
Include post‑install step to copy soundtracks and rename binary.
Extend meta with platforms, mainProgram, and maintainer handling.
Update docs to show required imports for block title helpers.
2026-04-16 23:43:36 +02:00
GarandPLG 30f2e17ed7 Add audio deps; extract input handling to threads
Add ALSA and Rodio crates to Cargo.toml and lockfile to enable audio
playback.
Update Nix expressions to include `alsa-lib` as a build input.
Refactor input event handling into a new `app::threads` module:
 - Define `AppEvent` enum and `handle_input_events` function there.
 - Adjust imports in `app/app.rs` and `main.rs` accordingly.
   Remove the now‑unused `handle_input_events` and `AppEvent`
   definitions from
   `app/app.rs`.
2026-04-06 11:47:46 +02:00
GarandPLG 17e00610a7 init 2026-03-02 17:46:35 +01:00
GarandPLG 1575ff81c1 Initial commit 2026-03-02 16:15:20 +00:00