Hi,
No major problem in your script, just some things who do not match the latest style recommendations:
[code language=playonlinux]
export POL_WINEVERSION="1.7.13"
POL_SetupWindow_prefixcreate
[/code]
That's probably POL3 style, use
[code language=playonlinux]
POL_Wine_PrefixCreate "1.7.13"
[/code]
instead in POL4
[code language=playonlinux]
POL_SetupWindow_browse "$(eval_gettext "Please select the install file.")" "$TITLE"
[/code]
To avoid more work from the translation team, use the standard message
[code language=playonlinux]
POL_SetupWindow_message "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
[/code]
(See
http://www.playonmac.com/en/dev-documentation-10.html)
[code language=playonlinux]
POL_SetupWindow_wait "$(eval_gettext 'PlayOnLinux is installing your application...')" "$TITLE"
[/code]
Just use
[code language=playonlinux]
POL_Wine_WaitBefore "$TITLE"
[/code]
to the same effect. Normally it's not necessary to use both
POL_Wine_WaitBefore and
POL_Wine_WaitExit around some statement,
as one should be sufficient, depending on whether the statements
between the two are blocking or not (if they're blocking then
WaitBefore is sufficient; if they're asynchronous, WaitExit
is sufficient).
I suspect that with WaitBefore, the WaitExit statement will become
redundant, but only experimentation will tell.
Regards, Pierre.
Edité par petch