Implement basic cef based desktop app

This commit is contained in:
Timon Schelling
2025-07-19 19:34:00 +00:00
parent 03751dfd7c
commit 809a00979a
21 changed files with 2647 additions and 2636 deletions
+10
View File
@@ -0,0 +1,10 @@
use std::fs::metadata;
fn main() {
let frontend_dir = format!("{}/../frontend/dist", env!("CARGO_MANIFEST_DIR"));
metadata(&frontend_dir).expect("Failed to find frontend directory. Please build the frontend first.");
metadata(format!("{}/index.html", &frontend_dir)).expect("Failed to find index.html in frontend directory.");
println!("cargo:rerun-if-changed=.");
println!("cargo:rerun-if-changed=../frontend");
}