Bonjour , mise en v3 du script pour Warcraft III:
#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check
POL_SetupWindow_Init
#Presentation
POL_SetupWindow_presentation "Warcraft III : Reign Of Chaos" "Blizzard Entertainment" "http://www.blizzard.com" "Tinou" "WarcraftIII"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "install.exe"
mkdir -p $HOME/.PlayOnLinux/wineprefix/WarcraftIII
cd $HOME/.PlayOnLinux/wineprefix/WarcraftIII
select_prefixe "$(pwd)"
POL_SetupWindow_prefixcreate
cd $WINEPREFIX/dosdevices
rm ./*
ln -s ../drive_c c:
ln -s / z:
ln -s $CDROM ./d:
cd "$CDROM"
wine ./install.exe
cd $WINEPREFIX/drive_c/Program Files/Warcraft III/
mv Movies MoviesOLD
mkdir Movies
POL_SetupWindow_reboot
POL_SetupWindow_make_shortcut "WarcraftIII" "Program Files/Warcraft III/" "Warcraft III.exe -opengl" "warcraft3.xpm" "Warcraft III"
POL_SetupWindow_Close
exit
icone:
48x48:
32x32:
capture:
merci de me signaler tout bug