Desktop: Viewport bounds from viewport container (#2989)

* Remove build script because it created more issues that it solved

* Get viewport bounds from viewport container
This commit is contained in:
Timon
2025-08-04 11:14:34 +00:00
committed by GitHub
parent fd66f29853
commit 853c26cbc1
3 changed files with 1 additions and 14 deletions
-3
View File
@@ -1,3 +0,0 @@
# Generated by Cargo
# will have compiled files and executables
/target/
-10
View File
@@ -1,10 +0,0 @@
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");
}