Created
May 28, 2014 14:29
-
-
Save darealshinji/0ec682e99792eda1b607 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Date : (2014-05-27 23:08) | |
# Last revision : (2014-05-27 23:08) | |
# Wine version used : 1.4.1 | |
# Distribution used to test : Mint 16 petra x64 | |
# Author : djcj | |
# Licence : Freeware | |
[ "$PLAYONLINUX" = "" ] && exit 0 | |
source "$PLAYONLINUX/lib/sources" | |
TITLE="Devil's Tuning Fork" | |
PREFIX="dtf" | |
rm "$POL_USER_ROOT/tmp/*.png" | |
POL_GetSetupImages "http://s14.directupload.net/images/140527/ouwjmxpc.png" | |
POL_SetupWindow_Init | |
POL_Debug_Init | |
POL_SetupWindow_presentation "$TITLE" "DePaul Game Elites" "http://www.devilstuningfork.com/" "djcj" "$PREFIX" | |
POL_Wine_SelectPrefix "$PREFIX" | |
POL_Wine_PrefixCreate | |
POL_System_TmpCreate "$PREFIX" | |
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" | |
if [ "$INSTALL_METHOD" = "LOCAL" ] | |
then | |
POL_SetupWindow_browse "Please select the installation file to run." "$TITLE" | |
POL_SetupWindow_wait "Installation in progress." "$TITLE" | |
POL_Wine start /unix "$APP_ANSWER" | |
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ] | |
then | |
cd "$POL_System_TmpDir" | |
POL_Download "http://dtf.cdm.depaul.edu/dtf_v_1.21.exe" | |
POL_SetupWindow_wait "Installation in progress." "$TITLE" | |
POL_Wine start /unix "$POL_System_TmpDir/dtf_v_1.21.exe" | |
fi | |
# Fix sound problem | |
POL_Call POL_Install_xact | |
POL_System_TmpDelete | |
POL_Shortcut "game.exe" "$TITLE" | |
POL_SetupWindow_Close | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment