#!/bin/bash
[ -z
"$PLAYONLINUX"
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
PREFIX=
"KTANE"
WORKING_WINE_VERSION=
"1.7.30"
EDITOR=
"Steel Crate Games"
PSEUDO=
"rogue-spectre"
TITLE=
"Keep Talking and Nobody Explodes"
SHORTCUT_NAME=
"ktane"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation
"$TITLE"
"$EDITOR"
"$EDITOR_WEBSITE"
"$PSEUDO"
"$PREFIX"
POL_System_TmpCreate
"TMP$PREFIX"
POL_Wine_SelectPrefix
"$PREFIX"
POL_Wine_PrefixCreate
"$WORKING_WINE_VERSION"
POL_SetupWindow_InstallMethod
"LOCAL"
if
[
"$INSTALL_METHOD"
=
"LOCAL"
]
then
POL_SetupWindow_browse
"Select archive"
"File installation"
INSTALLER=
"$APP_ANSWER"
fi
Set_OS
"win7"
POL_SetupWindow_VMS
"256"
POL_Call
POL_Install_d3dx10
POL_LoadVar_PROGRAMFILES
cd
"$POL_System_TmpDir"
unzip
"$APP_ANSWER"
-d
"$POL_System_TmpDir"
mkdir
-p
"$WINEPREFIX/drive_c/$PROGRAMFILES/KTANE"
mv
"Keep Talking and Nobody Explodes"
"$WINEPREFIX/drive_c/$PROGRAMFILES/KTANE"
POL_Wine_reboot
POL_Shortcut
"ktane.exe"
"$SHORTCUT_NAME"
""
""
"Game"
POL_SetupWindow_Close
exit
0