Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow {WINE,WINESERVER}_BIN env vars #2318

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

Matoking
Copy link
Contributor

Make it possible to set WINE_BIN and WINESERVER_BIN using environment variables outside Winetricks.

Winetricks performs a Wine binary bitness detection to print a warning. In some environments, such as Protontricks and Nix, the Wine executable is a wrapper that calls a binary that's located elsewhere. In those situations we want to provide the path to the binary that's only used for the check to avoid printing unnecessary warnings.

Closes: #2183

Make it possible to set `WINE_BIN` and `WINESERVER_BIN` using
environment variables outside Winetricks. These affect binary bitness
detection during startup.

Winetricks performs a Wine binary bitness detection to print a warning.
In some environments such as Protontricks and Nix, the Wine executables are
wrappers that call binaries that are located elsewhere. In those
situations we want to provide the path to the binary that's only used
for the check to avoid printing unnecessary warnings.

Closes: Winetricks#2183
@austin987 austin987 merged commit 1d441b4 into Winetricks:master Jan 13, 2025
5 checks passed
@austin987
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wine/wineserver bitness detection fails for wrapped Wine binaries
2 participants