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,
|
||||
}
|
||||
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 {
|
||||
name: format!("{} Server",&app_name),
|
||||
webname,
|
||||
version,
|
||||
author,
|
||||
about: format!("{}: Boot app",&app_name),
|
||||
about: format!("{}: {}",&app_name,&about),
|
||||
usedata: String::from(""),
|
||||
appmode: AppRunMode::default(),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user