https://bugs.winehq.org/show_bug.cgi?id=43030
--- Comment #34 from axzxc1236 axzxc1236_wine_tracker@protonmail.com --- Ignore my last comment (side effects is very annoying), I think I have a better approach (workaround, not fix) to this problem now.
https://gist.github.com/axzxc1236/1d1b737a8b2d5c2a3e2026e4cf9d332a
The above links to a shell script that I am using, it's not without cons but I think it's good enough to share here.