The forum

[script] Icy Tower 1.4

Author Replies
Jacob Monday 2 November 2009 at 14:53
JacobAnonymous

Script:

#!/bin/bash
# Date : (2009-11-02 15-00)
# Last revision : (2009-11-02 15-00)
# Wine version used : 1.1.32
# Distribution used to test : Debian GNU/Linux (testing)
# Author : Jacob
# Licence : Freeware

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

APP_TITLE="Icy Tower 1.4"
EDITOR_TITLE="Free Lunch Design"
SITE_URL="http://www.freelunchdesign.com/"
NICK="Jacob"
PREFIX_NAME="icytower"
DOWNLOAD_LINK="http://www.icytower.cz/download/icytower14_install.exe"
INSTALL_EXE="icytower14_install.exe"
RUN_EXE="icytower14.exe"
 
POL_SetupWindow_Init
POL_SetupWindow_presentation "$APP_TITLE" "$EDITOR_TITLE" "$SITE_URL" "$NICK" "$PREFIX_NAME"
 
select_prefixe "$REPERTOIRE/wineprefix/$PREFIX_NAME"
POL_SetupWindow_prefixcreate 
 
cd "$REPERTOIRE/wineprefix/$PREFIX_NAME/"
POL_SetupWindow_download "Downloading $APP_TITLE..." "Downloading $APP_TITLE..." "$DOWNLOAD_LINK"
POL_SetupWindow_wait_next_signal "Installation in progress..." "$APP_TITLE"
wine "$REPERTOIRE/wineprefix/$PREFIX_NAME/$INSTALL_EXE"
POL_SetupWindow_detect_exit

rm -rf "$REPERTOIRE/wineprefix/$PREFIX_NAME/$INSTALL_EXE"
 
POL_SetupWindow_make_shortcut "$PREFIX_NAME" "games/icytower1.4/" "$RUN_EXE" "" "$APP_TITLE"

POL_SetupWindow_Close
exit


MfG Jacob

Edited by Jacob

NSLW Monday 2 November 2009 at 19:15
NSLW

There are some things that are wront. You should look at other scripts to correct them.
Jacob Monday 2 November 2009 at 19:41
JacobAnonymous

can you write more details? what is wrong?
NSLW Monday 2 November 2009 at 20:09
NSLW

I'm bit tired of explaining the same over and over. Look at previous posts or at scripts already accepted.
Jacob Monday 2 November 2009 at 20:23
JacobAnonymous

ok, I looked at this topic (http://www.playonmac.com/en/topic-2883-SubRip.html), now is good?