feat(versioning): expose app version in UI and custom build ID in Backpack patch

This commit is contained in:
bleackstorm committed 2026-11-15 14:14:25 +01:00
1 parent 88cf8c73e7
commit 8dbc4297ed
4 files changed
+17 -8

No files matched your search

+4 -1
View File
@@ -336,7 +336,10 @@ impl eframe::App for SteamFrameGuiApp {
egui::TopBottomPanel::top("top_status_bar")
.show(ctx, |ui| {
ui.horizontal_wrapped(|ui| {
ui.heading(RichText::new("🥽 SteamFrame FPV Control Center").strong());
ui.heading(
RichText::new(concat!("🥽 SteamFrame FPV v", env!("CARGO_PKG_VERSION")))
.strong(),
);
ui.separator();
let is_running = self
+1 -1
View File
@@ -616,7 +616,7 @@ impl SteamFrameGpuiApp {
.text_base()
.font_weight(gpui::FontWeight::BOLD)
.text_color(rgb(COLOR_CYAN))
.child("🥽 SteamFrame FPV"),
.child(concat!("🥽 SteamFrame FPV v", env!("CARGO_PKG_VERSION"))),
)
.child(self.render_status_badge("VRX", &self.usb_status))
.child(self.render_status_badge("VR", &self.xr_status))
+6 -2
View File
@@ -25,7 +25,8 @@ fn main() -> Result<()> {
let log_buffer = GuiLogger::init(&cfg.log_file);
log::info!(
"=== Démarrage de SteamFrame FPV v0.2 (Moteur IHM : {}, Fichier journal : {}) ===",
"=== Démarrage de SteamFrame FPV v{} (Moteur IHM : {}, Fichier journal : {}) ===",
env!("CARGO_PKG_VERSION"),
cfg.gui_engine,
cfg.log_file
);
@@ -49,7 +50,10 @@ fn main() -> Result<()> {
let native_options = eframe::NativeOptions {
viewport: eframe::egui::ViewportBuilder::default()
.with_title("SteamFrame FPV - Eachine Sphere Link & RadioMaster Nomad")
.with_title(format!(
"SteamFrame FPV v{} - Eachine Sphere Link & RadioMaster Nomad",
env!("CARGO_PKG_VERSION")
))
.with_inner_size([1220.0, 820.0])
.with_min_inner_size([920.0, 620.0]),
..Default::default()