Skip to content

Commit c00906b

Browse files
committed
display info message always
1 parent 8cce420 commit c00906b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/template.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ fn create_template(
7272
// Default mod.json
7373
let mod_json = json!({
7474
"geode": get_version().to_string(),
75+
"gd": gd,
7576
"version": version,
7677
"id": id,
7778
"name": name,
7879
"developer": developer,
7980
"description": description,
80-
"gd": gd
8181
});
8282

8383
// Format neatly
@@ -135,6 +135,9 @@ pub fn build_template(config: &mut Config, location: Option<PathBuf>) {
135135
let location = location.absolutize().unwrap();
136136

137137
let final_version = ask_value("Version", Some("v1.0.0"), true);
138+
139+
info!("This is what Geometry Dash version your mod targets.");
140+
info!("See https://docs.geode-sdk.org/mods/configuring for more details.");
138141
let mut gd;
139142
loop {
140143
gd = ask_value("Geometry Dash Version", Some("2.204"), true);
@@ -143,7 +146,6 @@ pub fn build_template(config: &mut Config, location: Option<PathBuf>) {
143146
}
144147

145148
info!("Geometry Dash version isn't valid, please choose a valid version (2.xxx or *)");
146-
info!("Check https://docs.geode-sdk.org/mods/configuring for more details.")
147149
}
148150

149151
let final_developer = ask_value("Developer", config.default_developer.as_deref(), true);

0 commit comments

Comments
 (0)