fix: fix invalid logos.sh file error when building on Windows

This commit is contained in:
Adrian Groh 2023-03-09 15:00:08 +01:00
parent 5505fc6e8e
commit acfa5bda58
Signed by: Gobidev
GPG Key ID: 3AA3153E98B0D771

View File

@ -4,7 +4,7 @@ use regex::Regex;
#[proc_macro]
pub fn parse_logos(_input: TokenStream) -> TokenStream {
let raw_logos = include_str!("../logos.sh");
let raw_logos = include_str!("../logos.sh").replace("\r\n", "\n");
let raw_logos = raw_logos
.split_once("in\n")
.expect("Invalid logos.sh file")