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.
12 lines
380 B
Rust
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()
|
|
}
|