Skip to content

Commit

Permalink
Do not show Win64 warnings anymore in unattended mode. Eg. -q
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 committed Jan 29, 2025
1 parent 8cf82b3 commit 756d4a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -4549,6 +4549,11 @@ winetricks_set_wineprefix()
else
W_NO_WIN64_WARNINGS=0
fi

# In unattended mode, do NOT show any Win64 warnings
if [ -n "${W_OPT_UNATTENDED}" ]; then
W_NO_WIN64_WARNINGS=1
fi
fi

# In case of GUI, only warn once per prefix, per session (i.e., don't warn next time)
Expand Down

0 comments on commit 756d4a8

Please sign in to comment.