#!/bin/bash
[ -z
"$PLAYONLINUX"
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
GOGID=
"memoria"
PREFIX=
"Memoria_gog"
WORKING_WINE_VERSION=
"1.7.4"
TITLE=
"GOG.com - Memoria"
SHORTCUT_NAME=
"Memoria"
POL_SetupWindow_Init
POL_SetupWindow_presentation
"$TITLE"
"Daedalic Entertainment"
\
POL_Debug_Init
POL_Call
POL_GoG_setup
"$GOGID"
POL_Wine_SelectPrefix
"$PREFIX"
POL_Wine_PrefixCreate
"$WORKING_WINE_VERSION"
POL_Call
POL_GoG_install
/nogui
Set_OS winxp
POL_Wine_reboot
POL_SetupWindow_question
"Do you want install patch?"
"Patch installation"
if
[
"$APP_ANSWER"
=
"TRUE"
]
then
POL_SetupWindow_browse
"Please select the patch file to run."
"Patch installation"
POL_SetupWindow_wait
"Installation in progress."
"Patch installation"
POL_Wine
start
/unix
"$APP_ANSWER"
POL_Wine_reboot
fi
POL_Shortcut
"memoria.exe"
"$SHORTCUT_NAME"
""
""
"Game;AdventureGame;"
POL_SetupWindow_Close
exit