Files
core-cooldown/src-tauri/build.rs
Your Name 0cbd8abad4 Initial commit - Core Cooldown v0.1.0
Portable Windows break timer to prevent RSI and eye strain.
Tauri v2 + Svelte 5 + Tailwind CSS v4. No installer, no telemetry,
no data leaves the machine. CC0 public domain.
2026-02-07 01:12:49 +02:00

12 lines
380 B
Rust

fn main() {
// Ensure MinGW tools are on PATH for build scripts (windres, dlltool, etc.)
let mingw_bin = "C:/Users/lashman/mingw-w64/mingw64/bin";
if let Ok(current_path) = std::env::var("PATH") {
std::env::set_var("PATH", format!("{};{}", mingw_bin, current_path));
} else {
std::env::set_var("PATH", mingw_bin);
}
tauri_build::build()
}