File tree Expand file tree Collapse file tree 3 files changed +10
-14
lines changed
Expand file tree Collapse file tree 3 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 11[[authors ]]
22name = " Ananas"
3- github = " r3tr0ananas "
3+ github = " ananasmoe "
44
Original file line number Diff line number Diff line change @@ -40,20 +40,16 @@ impl Image {
4040 }
4141 }
4242
43- pub fn create_output ( & self , options : & UpscaleOptions ) -> PathBuf {
43+ pub fn create_output ( & self , options : & UpscaleOptions ) -> String {
4444 let model = & options. model . clone ( ) . unwrap ( ) ;
4545 let extension = & options. output_ext . to_string ( ) . to_lowercase ( ) ;
4646
47- let out = self . path . with_file_name (
48- format ! (
49- "{}_{}_x{}.{}" ,
50- self . path. file_stem( ) . unwrap( ) . to_string_lossy( ) ,
51- model. name,
52- & options. scale,
53- extension
54- )
55- ) ;
56-
57- out
47+ format ! (
48+ "{}_{}_x{}.{}" ,
49+ self . path. file_stem( ) . unwrap( ) . to_string_lossy( ) ,
50+ model. name,
51+ & options. scale,
52+ extension
53+ )
5854 }
5955}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ impl<'a> AboutWindow<'a> {
3636 authors : authors_toml_to_about_authors ( & AUTHORS . to_string ( ) ) ,
3737 webpage : "https://github.com/cloudy-org/aeternum" . to_string ( ) ,
3838 git_repo : "https://github.com/cloudy-org/aeternum" . to_string ( ) ,
39- copyright : "Copyright (C) 2024 Ananas" . to_string ( )
39+ copyright : "Copyright (C) 2024-2025 Ananas" . to_string ( )
4040 } ;
4141
4242 let about_widget = About :: new (
You can’t perform that action at this time.
0 commit comments