|
|
@ -296,9 +296,14 @@ fn get_metadata(messages: &[Message]) -> CTRConfig { |
|
|
|
_ => artifact.target.name, |
|
|
|
_ => artifact.target.name, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let author = match package.authors.as_slice() { |
|
|
|
|
|
|
|
[name, ..] => name.to_owned(), |
|
|
|
|
|
|
|
[] => String::from("Unspecified Author"), // as standard with the devkitPRO toolchain
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
CTRConfig { |
|
|
|
CTRConfig { |
|
|
|
name, |
|
|
|
name, |
|
|
|
author: package.authors[0].clone(), |
|
|
|
author, |
|
|
|
description: package |
|
|
|
description: package |
|
|
|
.description |
|
|
|
.description |
|
|
|
.clone() |
|
|
|
.clone() |
|
|
|