diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..50485ac --- /dev/null +++ b/build.rs @@ -0,0 +1,13 @@ +use std::process::Command; + +fn main() { + // let _ = Command::new("sh") + // .args(&["-c", "cd resources && gtk4-builder-tool simplify --3to4 snespatcher.ui --replace"]) + // .output() + // .expect("failed to execute process"); + + let _ = Command::new("sh") + .args(&["-c", "cd resources && glib-compile-resources resources.xml"]) + .output() + .expect("failed to execute process"); +}