Elias Stepanik befbfb8935 Fixed Rotation and scale and rotation sync.
Moved Input To its own Plugin.
Moved the camera to the Environment Plugin
2025-04-21 17:35:00 +07:00

11 lines
332 B
Rust

use std::fs;
use std::path::Path;
fn main() {
let out_dir = std::env::var("OUT_DIR").unwrap();
let target_dir = Path::new(&out_dir).ancestors().nth(3).unwrap(); // gets target/debug or release
fs::copy("config.toml", target_dir.join("config.toml"))
.expect("Failed to copy config.toml to target directory");
}