Skip to content

Commit 005b348

Browse files
committed
Add more "update" locations
Addresses other parts of the project where the word template is used
1 parent b0c8f20 commit 005b348

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

fill_template.rs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,31 @@ pub fn main() -> anyhow::Result<()> {
1717
)?;
1818
do_switch(&["Cargo.toml"], "Emil Ernerfeldt", "{{ author }}")?;
1919
do_switch(&["Cargo.toml"], "emil.ernerfeldt@gmail.com", "{{ email }}")?;
20+
do_switch(
21+
&["src/main.rs", "index.html"],
22+
"eframe template",
23+
"{{ crate_display_name }}",
24+
)?;
25+
do_switch(
26+
&["assets/sw.js"],
27+
"egui-template-pwa",
28+
"{{ pwa_short_name }}",
29+
)?;
30+
do_switch(
31+
&["src/app.rs", "src/lib.rs", "src/main.rs"],
32+
"TemplateApp",
33+
"{{ app_struct_identifier }}",
34+
)?;
35+
do_switch(
36+
&["assets/manifest.json"],
37+
"egui-template-pwa",
38+
"{{ pwa_short_name }}",
39+
)?;
40+
do_switch(
41+
&["assets/manifest.json"],
42+
"egui Template PWA",
43+
"{{ pwa_name }}",
44+
)?;
2045
println!("Completed");
2146
Ok(())
2247
}

0 commit comments

Comments
 (0)