mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Update the C++ idevice.h header on build
This commit is contained in:
@@ -47,4 +47,7 @@ fn main() {
|
|||||||
f.write_all(b"\n\n\n").unwrap();
|
f.write_all(b"\n\n\n").unwrap();
|
||||||
f.write_all(&h.into_bytes())
|
f.write_all(&h.into_bytes())
|
||||||
.expect("failed to append plist.h");
|
.expect("failed to append plist.h");
|
||||||
|
|
||||||
|
let f = std::fs::read_to_string("idevice.h").unwrap();
|
||||||
|
std::fs::write("../cpp/include/idevice.h", f).unwrap();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user