Forums
Delicious Deluxe
Auteur |
Réponses |
daengbo |
Mardi 7 Avril 2009 à 15:19
|
daengbo
|
#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check
GamesName="Delicious Deluxe" # The name of the game
GamesEditor="Zylom Media Group BV" # The game editor
GamesSite="www.reflexive.com" # The game site
PrefixName="deliciousdeluxe" # The location of the prefix ~/.PlayonLinux/wineprefix/$PrefixName
DataDirectory="Program Files/Delicious Deluxe" # Usually Program Files/....
SetupFile="DeliciousDeluxeSetup.exe" # The name of the setup program
Executable="Delicious.exe" # The binary file to launch the program
WineSetup="1.0" #The wine version to use during setup
WineVer="1.0" # The wine version to use during play
Webpage="http://www.reflexive.com/DeliciousDeluxe.html" # The web page for the download
POL_SetupWindow_Init
POL_SetupWindow_presentation "$GamesName" "$GamesEditor" "$GamesSite" "Daniel Bo" "$PrefixName"
select_prefixe "$REPERTOIRE/wineprefix/$PrefixName"
POL_SetupWindow_prefixcreate
xdg-open $Webpage
POL_SetupWindow_message "You now need to download $GamesName from $GamesSite and save it to your desktop. Exit your browser when you are finished." "Download $GamesName"
Set_WineVersion_Session "$WineVer"
POL_SetupWindow_wait_next_signal "Installing $GamesName ..." "$GamesName"
wine ~/Desktop/$SetupFile
POL_SetupWindow_detect_exit
POL_SetupWindow_make_shortcut "$PrefixName" "$DataDirectory" "$Executable" "" "$GamesName"
Set_WineVersion_Assign "$WineVer" "$GamesName"
POL_SetupWindow_reboot
POL_SetupWindow_Close
exit
Delicious Deluxe
|
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com