FIXES #507 - Use VERSION_STRING in setup assistant banner.

This commit is contained in:
Herbert Wolverson 2024-07-09 09:50:39 -05:00
parent 759e983a2f
commit 8ce08333ba

View File

@ -166,8 +166,11 @@ fn write_combined_config(
std::fs::write("/etc/lqos.conf", raw).unwrap();
}
const VERSION: &str = include_str!("../../../VERSION_STRING");
fn main() {
println!("{:^80}", "LibreQoS 1.4 Setup Assistant".yellow().on_blue());
let greeting = format!("LibreQoS {VERSION} Setup Assistant");
println!("{:^80}", greeting.yellow().on_blue());
println!();
let interfaces = get_available_interfaces();
let mut if_internet: Option<String> = None;