WBaduk

Informations

Creator Message
petete Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 0
Wine: System

Feedbacks

Description

WBaduk (World Baduk) is one of the major Korean Baduk (go, weiqi) servers. Formerly it was known as CyberOro.

Source code

                

Contributions

Filters:

Contribute
Member Message
petete Saturday 4 July 2015 at 19:26
petete Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,38 @@
+#!/usr/bin/bash
+# Date : (2015-07-03 21-09)
+# Last revision : (2015-07-04 14-25)
+# Wine version used : 1.7.46 (staging)
+# Distribution used to test : Manjaro
+# Author : petete
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="WBaduk"
+PREFIX="wbaduk"
+INSTALLER="WBaduk_20140410A.exe"
+MD5="15148b672edb3393ae947b01672e57ab"
+
+#POL_GetSetupImages
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "World Baduk Service" "http://www.wbaduk.com" "petete" "$PREFIX"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate
+
+# Needs ie6 to fix OLE errors when playing, clicking on web stuff with ie gives errors
+# maybe needs Flashplayer_ActiveX, needs more testing
+POL_Call POL_Install_ie6
+
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+POL_Download "http://www.wbaduk.com/download/$INSTALLER" "$MD5"
+
+POL_SetupWindow_wait
+POL_Wine "$POL_System_TmpDir/$INSTALLER"
+POL_System_TmpDelete
+POL_Shortcut "UpCheck.exe" "$TITLE" "" "" "Game;BoardGame"
+
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/usr/bin/bash
# Date : (2015-07-03 21-09)
# Last revision : (2015-07-04 14-25)
# Wine version used : 1.7.46 (staging)
# Distribution used to test : Manjaro
# Author : petete

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="WBaduk"
PREFIX="wbaduk"
INSTALLER="WBaduk_20140410A.exe"
MD5="15148b672edb3393ae947b01672e57ab"

#POL_GetSetupImages
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "World Baduk Service" "http://www.wbaduk.com" "petete" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate

# Needs ie6 to fix OLE errors when playing, clicking on web stuff with ie gives errors
# maybe needs Flashplayer_ActiveX, needs more testing
POL_Call POL_Install_ie6

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "http://www.wbaduk.com/download/$INSTALLER" "$MD5"

POL_SetupWindow_wait
POL_Wine "$POL_System_TmpDir/$INSTALLER"
POL_System_TmpDelete
POL_Shortcut "UpCheck.exe" "$TITLE" "" "" "Game;BoardGame"

POL_SetupWindow_Close
exit

Replies

Saturday 4 July 2015 at 20:08
Hi, your script looks ok, only one small thing POL_SetupWindow_wait expects two parameters; But anyway in this context (displaying a standard wait message while the windows installer is running), you'd better use POL_Wine_WaitBefore "$TITLE" anyway