Scripts
Script for Poker Stars
#!/bin/bash
#Vérifier que PlayOnLinux est bien exécuté avant
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Charger les librairies
source "$PLAYONLINUX/lib/sources"
#Verifier les dépendences
cfg_check
#Presentation
presentation "PokerStars" "PokerStars" "http://www.pokerstars.com/" "Tr4sK" "PokerStars" 1 4
#Cette partie contiendra le code du jeu.
mkdir -p $REPERTOIRE/wineprefix/PokerStars
cd $REPERTOIRE/wineprefix/PokerStars
telecharger "Veuillez patienter pendant le téléchargement du client" "http://www.pokerstars.com/PokerStarsInstall.exe" "Téléchargement du client" 2 4
message "Téléchargement terminé. nAppuyez sur entrer, puis patientez le temps de préparer l'installation" "Preparation de l'installation" 3 4
select_prefixe "$HOME/.PlayOnLinux/wineprefix/PokerStars/"
creer_prefixe 4 4
message "Veuillez Utilisez l'installation rapide proposée durant l'installation." "Rappel"
wine ./PokerStarsInstall.exe
fonts_to_prefix
#Fin du code du jeu
#Création du lanceur
creer_lanceur "PokerStars" "Program Files/PokerStars/" "PokerStars.exe" "" "PokerStars"
exit