I've done lots of googling before and after posting this and it seems like it's not possible. For certain exe programs on Windows, you can right click on the icon in the Taskbar and click the name of the application to open a new window which shows up under the same icon, and then when you hover over the same icon, you can see both the window(s) that were already opened and the one you just created. I found (or think from my research) that it isn't possible with Wine on Linux and macOS. Instead what you can do is create a .app short with a terminal command to create new windows of a wine app, but each window has it's own icon instead of sharing them like on Windows.
On way to do so is with Platypus app for mac, which can be install either from the website
https://sveinbjorn.org/platypus or with homebrew:
and I would create a script that goes like this:
Code: Select all
/opt/homebrew/bin/wine64 /path/to/exe/file
(that's the path for wine installed with brew install wine-stable on M1 Macs. Change it, which can outputted from the terminal with "which wine" or "which wine64"). Also make sure the path to wine and the exe file are absolute and not relative. I also used this Wine icon I found:
https://media.macosicons.com/parse/file ... _Wine.icns.