Bug Fix: Update Windows escape character

This commit is contained in:
Bryan Hyland 2025-12-09 09:04:45 -08:00 • committed by Bryan Hyland
parent 3b8ad45950
commit 6a1e137c18

View file

@ -41,6 +41,9 @@ fn generate_bundled_icons() {
)
.into_iter()
.fold(String::new(), |mut output, (name, path)| {
// This changes the escape character to the one used by Windows.
#[cfg(windows)]
let path = path.replace("\\", "/");
output.push_str(&format!(" \"{name}\" => include_bytes!(\"{path}\"),\n"));
output
});