tauri-plugin-windows-version 2.0.0

Get the version number of the current Windows OS.
1
2
3
4
5
6
7
8
9
10
11
const COMMANDS: &[&str] = &[
    "get_windows_version",
    "is_windows_7",
    "is_windows_8",
    "is_windows_10",
    "is_windows_11",
];

fn main() {
    tauri_plugin::Builder::new(COMMANDS).build();
}