startt 0.1.14

Automate detection of HWND and real PID for apps launched through ShellExecuteEx (cmd start, Explorer, PowerShell)
1
2
3
4
5
6
7
use chrono::Datelike;
fn main() {
    let now = chrono::Utc::now().date_naive();
    println!("cargo:rustc-env=BUILD_YEAR={}", now.year());
    println!("cargo:rustc-env=BUILD_MONTH={}", now.month());
    println!("cargo:rustc-env=BUILD_DAY={}", now.day());
}