Jacob |
Lundi 2 Novembre 2009 à 14:53
|
Jacob
|
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 Edité par Jacob
|
NSLW |
Lundi 2 Novembre 2009 à 19:15
|
NSLW
|
There are some things that are wront. You should look at other scripts to correct them.
|
Jacob |
Lundi 2 Novembre 2009 à 19:41
|
Jacob
|
can you write more details? what is wrong?
|
NSLW |
Lundi 2 Novembre 2009 à 20:09
|
NSLW
|
I'm bit tired of explaining the same over and over. Look at previous posts or at scripts already accepted.
|
Jacob |
Lundi 2 Novembre 2009 à 20:23
|
Jacob
|
ok, I looked at this topic (http://www.playonmac.com/en/topic-2883-SubRip.html), now is good?
|