mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-05 03:58:12 +08:00
adam changes
This commit is contained in:
+2
-1
@@ -1,7 +1,8 @@
|
||||
use std::fs::metadata;
|
||||
|
||||
fn main() {
|
||||
let frontend_dir = format!("{}/../frontend/dist", env!("CARGO_MANIFEST_DIR"));
|
||||
let frontend_dir = format!("{}/../frontend-native/dist", env!("CARGO_MANIFEST_DIR"));
|
||||
println!("frontend_dir: {}", frontend_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.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user