···44fn main() {
55 // The build script will be ran from the server directory, so we need to go up one directory to get to the root
66 let root_path = match std::env::var("CARGO_MANIFEST_DIR") {
77- Ok(path) => (path + "/..").replace("/server/..", "/"),
77+ Ok(path) => (path + "/..").replace("\\", "/").replace("/server/..", "/"),
88 Err(_) => panic!("Failed to get root path"),
99 };
1010 // Tell cargo to rerun the build script if the client directory changes