emulators/wine-devel: Sync files/wine.sh with emulators/wine
This forward ports the following two commits from emulators/wine
as far as files/wine.sh goes:
commit ef11261971a87d2b75b352ab479b651d2f2b0b50 Author: Gerald Pfeifer <gerald@FreeBSD.org> Date: Wed Jan 31 12:27:21 2024 +0000 emulators/wine: Simplify the logic in wine.sh
and
commit 0f2052c3784e3b8d5aed85aab22b8a49613ee85c Author: Alexander Vereeken <Alexander88207@protonmail.com> Date: Sun Dec 17 22:58:41 2023 +0000 emulators/wine: Unbreak WoW64 This is an excerpt of 1f07ec6014 by Alex S <iwtcex@gmail.com> for emulators/wine-proton.
PR: 275677, 279927
Reported by: scf