mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* Remove tauri based desktop app * Allow bzip-1.0.6 license * Implement basic cef based desktop app * Cleanup build setup * Use wait until and execute cef loop more frequently * Remove custom do browser work event * Move WinitApp into its own module * Cleanup event handling * Cleanup + Scheudule cef message loop work * Fix cpu overheating on idle: https://xkcd.com/1172/ * Use tracing crate for logging instead of println * Rebase to main --------- Co-authored-by: Dennis Kobert <dennis@kobert.dev>
10 lines
427 B
Rust
10 lines
427 B
Rust
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/dist");
|
|
}
|