mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
@@ -37,6 +37,8 @@ async fn inner_main() -> Result<(), Error> {
|
|||||||
let version = format!("{}", crate::version::Current::new().semver());
|
let version = format!("{}", crate::version::Current::new().semver());
|
||||||
let git_version =
|
let git_version =
|
||||||
git_version::git_version!(args = ["--always", "--abbrev=40", "--dirty=-modified"]);
|
git_version::git_version!(args = ["--always", "--abbrev=40", "--dirty=-modified"]);
|
||||||
|
#[cfg(not(feature = "production"))]
|
||||||
|
let git_version = format!("{}-dev", git_version);
|
||||||
#[allow(unused_mut)]
|
#[allow(unused_mut)]
|
||||||
let mut app = App::new("Start9 Application Manager")
|
let mut app = App::new("Start9 Application Manager")
|
||||||
.version(version.as_str())
|
.version(version.as_str())
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ mod v0_2_4;
|
|||||||
mod v0_2_5;
|
mod v0_2_5;
|
||||||
mod v0_2_6;
|
mod v0_2_6;
|
||||||
|
|
||||||
pub use v0_2_5::Version as Current;
|
pub use v0_2_6::Version as Current;
|
||||||
|
|
||||||
#[derive(serde::Serialize, serde::Deserialize)]
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
#[serde(untagged)]
|
#[serde(untagged)]
|
||||||
|
|||||||
Reference in New Issue
Block a user