I use multiple wineprefixes and use the three different Wine versions (stable, devel and staging).
Is it possible to detect which Wine version was used to make the wineprefix?
Detect Wine version
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Detect Wine version
Not that I am aware of. But what do you want to achieve?
Re: Detect Wine version
Often users here on the forum have a certain Wine version installed. To help them I install the program in the same Wine version. Unfortunately I sometimes forget which version is used and I get the message: wine: configuration in 'wineprefix' has been updated.
Wine knows which version is used, but I can't find anything about the version in the .reg files.
Wine knows which version is used, but I can't find anything about the version in the .reg files.
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Detect Wine version
AFAIK wine doesn't know the version, it only knows it's different. In each WINEPREFIX there is a file called ".update-timestamp" which contains the "last modified" date from "/usr/share/wine/wine.inf".
That means, each time the wine.inf is updated, the WINEPREFIX is updated as well. But the actual version doesn't seem to be saved anywhere.
Re: Detect Wine version
Thanks! That will do the trick.