ifolor Designer

Informations

Créateur Messages
lahtis

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 0
Wine: 1.7.47

Retours d'expérience

Description

Code source

#!/bin/bash
# Date : (2015-28-12 21:55)
# Last revision : (2015-28-12 01:05)
# Distribution used to test : Ubuntu 14.04
# Author : lahtis
# Licence : GPLv3
# PlayOnLinux: 4.2.8

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="ifolor Designer"
PREFIX="ifolorDesigner"
WORKING_WINE_VERSION="1.7.47"
EDITOR=""
GAME_URL="http://www.ifolor.fi/en/ifolor_designer"
AUTHOR="lahtis"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Dependencies, overrides, and Windows version settings
POLL_Call POL_Install_dotnet45
POLL_Call POL_Install_gdiplus 
Set_OS "winxp"

# Do you have downloaded the program file?
# Choose XP file.
POL_SetupWindow_question "$(eval_gettext 'Do you have downloaded the program file?')" "$TITLE"
if [ "$APP_ANSWER" = "FALSE" ]
then
        POL_Browser "http://www.ifolor.fi/en/ifolor_designer"
fi

POL_SetupWindow_browse "$(eval_gettext 'Please select the downloaded program file.')" "$TITLE"

cd "$HOME"
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "Ifolor.ClientApplications.Starter.exe" "$TITLE"

POL_SetupWindow_Close
 
exit 0

Contributions

Filters:

Contribuer
Membre Messages
lahtis Mardi 29 Décembre 2015 à 0:03
lahtis

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -0,0 +1,52 @@
+#!/bin/bash
+# Date : (2015-28-12 21:55)
+# Last revision : (2015-28-12 01:05)
+# Distribution used to test : Ubuntu 14.04
+# Author : lahtis
+# Licence : GPLv3
+# PlayOnLinux: 4.2.8
+
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="ifolor Designer"
+PREFIX="ifolorDesigner"
+WORKING_WINE_VERSION="1.7.47"
+EDITOR=""
+GAME_URL="http://www.ifolor.fi/en/ifolor_designer"
+AUTHOR="lahtis"
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+# Dependencies, overrides, and Windows version settings
+POLL_Call POL_Install_dotnet45
+POLL_Call POL_Install_gdiplus 
+Set_OS "winxp"
+
+# Do you have downloaded the program file?
+# Choose XP file.
+POL_SetupWindow_question "$(eval_gettext 'Do you have downloaded the program file?')" "$TITLE"
+if [ "$APP_ANSWER" = "FALSE" ]
+then
+	POL_Browser "http://www.ifolor.fi/en/ifolor_designer"
+fi
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the downloaded program file.')" "$TITLE"
+
+cd "$HOME"
+POL_Wine "$APP_ANSWER"
+POL_Wine_WaitExit "$TITLE"
+
+POL_Shortcut "Ifolor.ClientApplications.Starter.exe" "$TITLE"
+
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-28-12 21:55)
# Last revision : (2015-28-12 01:05)
# Distribution used to test : Ubuntu 14.04
# Author : lahtis
# Licence : GPLv3
# PlayOnLinux: 4.2.8

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="ifolor Designer"
PREFIX="ifolorDesigner"
WORKING_WINE_VERSION="1.7.47"
EDITOR=""
GAME_URL="http://www.ifolor.fi/en/ifolor_designer"
AUTHOR="lahtis"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Dependencies, overrides, and Windows version settings
POLL_Call POL_Install_dotnet45
POLL_Call POL_Install_gdiplus 
Set_OS "winxp"

# Do you have downloaded the program file?
# Choose XP file.
POL_SetupWindow_question "$(eval_gettext 'Do you have downloaded the program file?')" "$TITLE"
if [ "$APP_ANSWER" = "FALSE" ]
then
        POL_Browser "http://www.ifolor.fi/en/ifolor_designer"
fi

POL_SetupWindow_browse "$(eval_gettext 'Please select the downloaded program file.')" "$TITLE"

cd "$HOME"
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "Ifolor.ClientApplications.Starter.exe" "$TITLE"

POL_SetupWindow_Close
 
exit 0

Réponses

lahtis Lundi 28 Décembre 2015 à 23:54
lahtis

Messages

why

POLL_CALL POL_Install_dotnet45
POLL_CALL POL_Install_gdiplus

not working with script?

Réponses

Mardi 29 Décembre 2015 à 0:07
-> POLL_Call
Anonymous
Mardi 29 Décembre 2015 à 3:59
That is because it should be POL_Call POL_Install_dotnet45
Anonymous
Mardi 29 Décembre 2015 à 4:01
However, it's advised to post your script on the forum first. See http://wiki.playonlinux.com/index.php/How_to_Contribute_a_Script