#!/usr/bin/env playonlinux-bash
[ -z
"$PLAYONLINUX"
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
TITLE=
"Angry Birds Seasons"
PREFIX=
"angrybirds_s"
WORKING_WINE_VERSION=
"3.0.3"
AUTHOR=
"Dadu042"
EDITOR=
"Rovio"
Set_OS win7
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation
"$TITLE"
"$EDITOR"
"$GAME_URL"
"$AUTHOR"
"$PREFIX"
POL_Wine_SelectPrefix
"$PREFIX"
POL_System_SetArch
"amd64"
POL_Wine_PrefixCreate
"$WORKING_WINE_VERSION"
POL_System_TmpCreate
"$TITLE"
POL_SetupWindow_InstallMethod
"LOCAL,CD"
if
[
"$INSTALL_METHOD"
==
"LOCAL"
];
then
cd
"$HOME"
POL_SetupWindow_browse
"$(eval_gettext 'Please select the setup file to run')"
"$TITLE"
SETUP_EXE=
"$APP_ANSWER"
POL_Wine
start
/unix
"$SETUP_EXE"
POL_Wine_WaitExit
"$TITLE"
cd
"$POL_System_TmpDir"
else
POL_SetupWindow_cdrom
POL_Wine
start
/unix
"$CDROM/AngryBirdsSeasonsInstaller_2.0.0.exe"
cd
"$POL_System_TmpDir"
fi
POL_Shortcut
"AngryBirdsSeasons.exe"
"$TITLE"
""
POL_System_TmpDelete
POL_SetupWindow_Close
exit
0