Script showing all installed programs and their wine versions

Auteur Réponses
hasi Dimanche 10 Février 2008 à 15:44

Hey all,
the following is a pretty basic script that has proven very useful for me. It creates a list of all apps installed under POL, including their wine versions. It helps me to keep track of things.

cd ~/.PlayOnLinux/configurations/installed
echo "-------------------------------"
# look at all script names in the POL script directory
for ARG in *
# check if they are assigned to a specific wine version
WV=`grep WineVersions "$ARG"`
# take the script name, add some spaces to make it look pretty
ARG="$ARG"" "
ARG=`expr substr "$ARG" 1 24`
# print the script name and the wine version (if existing)
echo "$ARG" $WV
echo "-------------------------------"
exit 0

If more people think this is very useful, something like that may be included into POL? Maybe like a menu function that invokes the POL shell and executes the script?
Even better, of course, would be a function, where the wine version is shown in the POL window, maybe to the right side of the program icons?
Let me know what you think.
Quentin PÂRIS Vendredi 15 Février 2008 à 4:46
Quentin PÂRIS

Yep, good idea. I will add this kind of feature in the next version of PlayOnLinux