Applications

Choose a category

accessories
Accessories
development
Development
education
Education
games
Games
graphics
Graphics
internet
Internet
multimedia
Multimedia
office
Office
other
Other

Command And Conquer 3 Patch 1.09

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
LNG_CNC3_UPDATE_WELCOME="Bienvenue dans le script d'installation du patch 1.09 pour Command & Conquer 3"
LNG_CNC3_UPDATE_INFO1="Je vais télécharger le patch sur le site officiel.\nCette opération peut nécessiter du temps.\nCliquez sur valider pour commencer."
LNG_CNC3_UPDATE_DL="Patientez pendant le téléchargement du patch...\nCette opération peut prendre quelques minutes selon la vitesse de votre connexion."
LNG_CNC3_UPDATE_INSTALL="Téléchargement terminé. Installation du patch"
LNG_CNC3_UPDATE_FINISHED="Le patch a été correctement installé"
else
LNG_CNC3_UPDATE_WELCOME="Welcome in the patch 1.09 Installation script for Command & Conquer 3"
LNG_CNC3_UPDATE_INFO1="I will download the path on the official website.\nThis opération may take time.\nClick to begin."
LNG_CNC3_UPDATE_DL="Wait while the patch is downloading...\nThis operation can take time, depending of you connexion."
LNG_CNC3_UPDATE_INSTALL="Donwload finished. Patch installation will begin"
LNG_CNC3_UPDATE_FINISHED="Patch installed successfully"
fi

message "$LNG_CNC3_UPDATE_WELCOME"

verifier_installation_e "CommandAndConquer3"

cd $HOME/.PlayOnLinux/tmp
select_prefixe "$HOME/.PlayOnLinux/wineprefix/CommandAndConquer3"

message "$LNG_CNC3_UPDATE_INFO1"

if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
attendre "$LNG_CNC3_UPDATE_DL" "wget -c ftp://ftp.ea.com/pub/eapacific/cnc3/CNC3_patch109_french.exe -q"
else
attendre "$LNG_CNC3_UPDATE_DL" "wget -c ftp://ftp.ea.com/pub/eapacific/cnc3/CNC3_patch109_english.exe -q"
fi

message "$LNG_CNC3_UPDATE_INSTALL"

if [ "$POL_LANG" == "fr_FR.UTF-8" ]; then
wine ./CNC3_patch109_french.exe
rm ./CNC3_patch109_french.exe
else
wine ./CNC3_patch109_english.exe
rm ./CNC3_patch109_english.exe
fi

message "$LNG_CNC3_UPDATE_FINISHED"