Rust library that contains a set of interfaces to run windows applications on unix-like systems using Wine
Features:
- Different wine builds
- Can create wine prefixes & run applications
- Support DXVK installing, uninstalling, applied version parsing (
dxvk
) - Has bundles system for special wine builds (
wine-bundles
) - Has Proton support (
wine-proton
)
Examples
Run cmd.exe using system wine
use *;
// Run cmd.exe using system wine
default.run;
// Ask for cmd's help
let child = default.run_args.unwrap;
println!;
Print wine version
use *;
// Print wine version
println!;
Run cmd.exe using custom wine, and then stop it
use *;
let wine = from_binary;
// Run cmd.exe using custom wine
// and then stop it
wine.run;
wine.stop_processes;
Print DXVK version
// Requires "dxvk" feature (enabled by default)
use *;
match get_version
Install DXVK
// Requires "dxvk" feature (enabled by default)
use *;
default
.install_dxvk
.expect;
Author: Nikita Podvirnyy
Licensed under MIT