#!/bin/bash
[
"$PLAYONLINUX"
=
""
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
TITLE=
"Rebirth"
PREFIX=
"Rebirth"
WORKING_WINE_VERSION=
"1.0.1"
if
[
"$POL_LANG"
==
"fr"
];
then
LNG_WAIT_WARNING=
"Rebirth: un studio complet pour les amateurs de musique électronique"
LNG_WAIT_START=
"L'installation va commencer..."
LNG_WAIT_END=
"Appuyez sur \\"
Suivant\\
" UNIQUEMENT quand l'installation du programme sera\\nterminée sous peine de devoir recommencer l'installation."
LNG_WAIT_HF=
"Deux TB 303, une TR 808 et une TR 909, enjoy..."
else
LNG_WAIT_WARNING=
"Rebirth: a complete studio for electronic music lovers"
LNG_WAIT_START=
"Installation is going to begin..."
LNG_WAIT_END=
"Click on \\"
Next\\
" ONLY when the software installation is finished\\nor you will have to install again the game."
LNG_WAIT_HF=
"Two TB 303, a TR 808 and a TR 909, enjoy..."
fi
POL_GetSetupImages
"<ADRESSE_IMAGE_TOP>"
"<ADRESSE_IMAGE_LEFT>"
"$TITLE"
POL_SetupWindow_InitWithImages
POL_SetupWindow_message
"$LNG_WAIT_WARNING"
"$TITLE"
POL_SetupWindow_message
"$LNG_WAIT_START"
"$TITLE"
select_prefix
"$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_install_wine
"$WORKING_WINE_VERSION"
Use_WineVersion
"$WORKING_WINE_VERSION"
POL_LoadVar_PROGRAMFILES
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom
"Install Rebirth RB-338.exe"
wine start
/unix
"$CDROM/Install Rebirth RB-338.exe"
POL_SetupWindow_message
"$LNG_WAIT_END"
"$TITLE"
POL_SetupWindow_auto_shortcut
"$PREFIX"
"rebirth.exe"
"$PREFIX"
"$TITLE.png"
""
Set_WineVersion_Assign
"$WORKING_WINE_VERSION"
"$TITLE"
POL_SetupWindow_message
"$LNG_WAIT_HF"
"$TITLE"
POL_SetupWindow_Close
exit