diff --git a/tui/build.rs b/tui/build.rs index 121931c1..0dcab850 100644 --- a/tui/build.rs +++ b/tui/build.rs @@ -1,7 +1,7 @@ fn main() { // Add current date as a variable to be displayed in the 'Linux Toolbox' text. println!( - "cargo:rustc-env=BUILD_DATE={}", - chrono::Local::now().format("%Y-%m-%d") + "cargo:rustc-env=VERSION={}", + "FIXME" ); } diff --git a/tui/src/state.rs b/tui/src/state.rs index 4e398ee7..1163f7d5 100644 --- a/tui/src/state.rs +++ b/tui/src/state.rs @@ -24,7 +24,7 @@ use temp_dir::TempDir; const MIN_WIDTH: u16 = 77; const MIN_HEIGHT: u16 = 19; -const TITLE: &str = concat!("Linux Toolbox - ", env!("BUILD_DATE")); +const TITLE: &str = concat!("Linux Toolbox - ", env!("VERSION")); const ACTIONS_GUIDE: &str = "List of important tasks performed by commands' names: D - disk modifications (ex. partitioning) (privileged)