From ba06b988af65bae1a512e366bc798bf646137099 Mon Sep 17 00:00:00 2001 From: Philippe Zwietering Date: Tue, 8 Sep 2026 16:03:59 +0200 Subject: [PATCH] build: Package folder eerst aanmaken --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index 46e1a2c..f76dfd8 100644 --- a/build.rs +++ b/build.rs @@ -3,6 +3,8 @@ use std::fs; fn main() { println!("cargo:rerun-if-changed=index.html"); + let _ = fs::create_dir_all("pkg"); + if let Err(e) = fs::copy("index.html", "pkg/index.html") { eprintln!("Error: Couldn't copy index.html: {}", e); }