fix compiling issues on windows + update readme for contributors, they do not need rust nightly anymore

This commit is contained in:
bmatthieu3
2025-02-08 13:57:50 +01:00
parent 542b1d0ace
commit 165c246605
2 changed files with 4 additions and 3 deletions

View File

@@ -24,7 +24,8 @@ fn generate_shaders() -> std::result::Result<(), Box<dyn Error>> {
//.with_extension("")
.to_string_lossy()
.to_owned()
.replace("/", "_");
.replace("/", "_")
.replace("\\", "_");
//let out_name = format!("{}/{}", OUT_PATH, out_file_name);
let src = read_shader(path)?;
@@ -86,7 +87,7 @@ pub fn write(path: PathBuf, entries: HashMap<String, String>) -> Result<(), Box<
for (name, content) in entries {
writeln!(
&mut all_the_files,
r##" out.insert("{name}", r#"{content}"#);"##,
r##" out.insert(r"{name}", r#"{content}"#);"##,
)?;
}

View File

@@ -27,7 +27,7 @@
*
*****************************************************************************/
import {JSONP_PROXY} from "@/js/Constants";
import {JSONP_PROXY} from "./Constants";
import { ALEvent } from './events/ALEvent';