mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
feat(versioning): expose app version in UI and custom build ID in Backpack patch
This commit is contained in:
1 parent
88cf8c73e7
commit
8dbc4297ed
4 files changed
+17
-8
No files matched your search
+6
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user