chore: add about and change output
This commit is contained in:
parent
952a3fd661
commit
6aea11cde4
@ -19,13 +19,13 @@ pub struct AppInfo {
|
|||||||
pub appmode: AppRunMode,
|
pub appmode: AppRunMode,
|
||||||
}
|
}
|
||||||
impl AppInfo {
|
impl AppInfo {
|
||||||
pub fn new(app_name: &str, webname: String, version: String, author: String) -> Self {
|
pub fn new(app_name: &str, webname: String, version: String, author: String, about: String) -> Self {
|
||||||
Self {
|
Self {
|
||||||
name: format!("{} Server",&app_name),
|
name: format!("{} Server",&app_name),
|
||||||
webname,
|
webname,
|
||||||
version,
|
version,
|
||||||
author,
|
author,
|
||||||
about: format!("{}: Boot app",&app_name),
|
about: format!("{}: {}",&app_name,&about),
|
||||||
usedata: String::from(""),
|
usedata: String::from(""),
|
||||||
appmode: AppRunMode::default(),
|
appmode: AppRunMode::default(),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user