WowApp
Informations
Creator | Meddelanden |
---|---|
rpinto
|
WarningThis installer has not been approved yet by the team. InformationsPlatforms: Feedbacks2 1 DescriptionThis script has been tested on ubuntu 12.04, 14.04 and Debian 7.
Source code#!/bin/bash # Date : (2015-11-12) # Last revision : (2015-11-12 23:00) # Distribution used to test : Ubuntu, Debian # Author : Rodrigo Pinto # Licence : GPLv3 # Changelog # (2015-10-01) 23:00 (Rodrigo Pinto) # - WowApp 5.0.0 with Wine 1.7.46 32bits # (2015-10-21) 17:00 (Rodrigo Pinto) # - Set arch to x86 # - Remove the Downloading dialog # (2015-11-12) 14:00 (Rodrigo Pinto) # - New 6.0.0 version # - Audio fix [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" POL_System_SetArch "x86" WINEVERSION="1.7.46" TITLE="WowApp" PREFIX="WowApp" SHORTCUT_NAME="WowApp" EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_6.0.0.exe" POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE" POL_SetupWindow_Init POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE" POL_SetupWindow_SetID 1135 which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')" if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')" POL_Debug_Warning "S3TC not enabled!" fi POL_Debug_Init POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE" FULL_INSTALLER="$APP_ANSWER" else # DOWNLOAD POL_System_TmpCreate "$PREFIX" DOWNLOAD_URL=$EXE_URL DOWNLOAD_MD5="2256981db07885f3e330a40692a4842e" DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")" POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer" FULL_INSTALLER="$DOWNLOAD_FILE" fi POL_System_SetArch "x86" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$FULL_INSTALLER" Set_OS winxp # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver #install setupapi POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2" # Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/ #POL_Debug_Message "Installing setupapi" cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll" POL_Call POL_Function_OverrideDLL native setupapi POL_Shortcut_InsertBeforeWine "WowApp" "export PULSE_LATENCY_MSEC=30" POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" "" if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then # Free some disk space POL_System_TmpDelete fi POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContributeMember | Meddelanden |
cheesy | Friday 27 October 2017 at 9:50 |
cheesy
|
MeddelandenIn Ubuntu 17.10 all text is shown as squares (see the next image). I want to thank you all for making this happen but if any of you manage to repair this will be awesome. SvarFriday 27 October 2017 at 11:05
Friday 27 October 2017 at 11:07
|
rpinto | Thursday 12 November 2015 at 20:09 |
rpinto
|
InformationThis update has been approved by the team. Differences@@ -1,6 +1,6 @@ #!/bin/bash -# Date : (2015-10-01) -# Last revision : (2015-10-01 23:00) +# Date : (2015-11-12) +# Last revision : (2015-11-12 23:00) # Distribution used to test : Ubuntu, Debian # Author : Rodrigo Pinto # Licence : GPLv3 @@ -10,18 +10,21 @@ # - WowApp 5.0.0 with Wine 1.7.46 32bits # (2015-10-21) 17:00 (Rodrigo Pinto) # - Set arch to x86 -# - Remove the Downloading dialog +# - Remove the Downloading dialog +# (2015-11-12) 14:00 (Rodrigo Pinto) +# - New 6.0.0 version +# - Audio fix [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -POL_System_SetArch "x86" +POL_System_SetArch "x86" WINEVERSION="1.7.46" TITLE="WowApp" PREFIX="WowApp" SHORTCUT_NAME="WowApp" -EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe" +EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_6.0.0.exe" POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE" @@ -51,7 +54,7 @@ POL_System_TmpCreate "$PREFIX" DOWNLOAD_URL=$EXE_URL - DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1" + DOWNLOAD_MD5="2256981db07885f3e330a40692a4842e" DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")" POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer" @@ -84,6 +87,7 @@ POL_Call POL_Function_OverrideDLL native setupapi +POL_Shortcut_InsertBeforeWine "WowApp" "export PULSE_LATENCY_MSEC=30" POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" "" New source code#!/bin/bash # Date : (2015-11-12) # Last revision : (2015-11-12 23:00) # Distribution used to test : Ubuntu, Debian # Author : Rodrigo Pinto # Licence : GPLv3 # Changelog # (2015-10-01) 23:00 (Rodrigo Pinto) # - WowApp 5.0.0 with Wine 1.7.46 32bits # (2015-10-21) 17:00 (Rodrigo Pinto) # - Set arch to x86 # - Remove the Downloading dialog # (2015-11-12) 14:00 (Rodrigo Pinto) # - New 6.0.0 version # - Audio fix [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" POL_System_SetArch "x86" WINEVERSION="1.7.46" TITLE="WowApp" PREFIX="WowApp" SHORTCUT_NAME="WowApp" EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_6.0.0.exe" POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE" POL_SetupWindow_Init POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE" POL_SetupWindow_SetID 1135 which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')" if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')" POL_Debug_Warning "S3TC not enabled!" fi POL_Debug_Init POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE" FULL_INSTALLER="$APP_ANSWER" else # DOWNLOAD POL_System_TmpCreate "$PREFIX" DOWNLOAD_URL=$EXE_URL DOWNLOAD_MD5="2256981db07885f3e330a40692a4842e" DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")" POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer" FULL_INSTALLER="$DOWNLOAD_FILE" fi POL_System_SetArch "x86" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$FULL_INSTALLER" Set_OS winxp # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver #install setupapi POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2" # Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/ #POL_Debug_Message "Installing setupapi" cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll" POL_Call POL_Function_OverrideDLL native setupapi POL_Shortcut_InsertBeforeWine "WowApp" "export PULSE_LATENCY_MSEC=30" POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" "" if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then # Free some disk space POL_System_TmpDelete fi POL_SetupWindow_Close exit 0 SvarÄndrat av petch |
rpinto | Thursday 22 October 2015 at 1:12 |
rpinto
|
WarningThis update has not been approved yet by the team. MeddelandenForgot to remove the downloading line Differences@@ -1,18 +1,21 @@ #!/bin/bash # Date : (2015-10-01) # Last revision : (2015-10-01 23:00) -# Distribution used to test : Ubuntu, Debian +# Distribution used to test : Ubuntu, Debian # Author : Rodrigo Pinto # Licence : GPLv3 -# WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/WowApp/ # Changelog -# (2015-10-01) 23:00 (Rodrigo Pinto) +# (2015-10-01) 23:00 (Rodrigo Pinto) # - WowApp 5.0.0 with Wine 1.7.46 32bits +# (2015-10-21) 17:00 (Rodrigo Pinto) +# - Set arch to x86 +# - Remove the Downloading dialog [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" +POL_System_SetArch "x86" WINEVERSION="1.7.46" TITLE="WowApp" @@ -60,13 +63,6 @@ POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" -#POL_Call POL_Install_corefonts -#POL_Call POL_Install_vcrun2005 -#POL_Call POL_Install_vcrun2008 -#POL_Call POL_Install_d3dx9 - -#Set_OS "win7" - POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE" POL_Wine_WaitBefore "$TITLE" @@ -80,8 +76,7 @@ #install setupapi POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2" -POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi" -# Copy wineasio.dll.so to system32 folder in $WINEPREFIX, and register to $WINEPREFIX. Throw error if it fails. +# Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/ #POL_Debug_Message "Installing setupapi" cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll" New source code#!/bin/bash # Date : (2015-10-01) # Last revision : (2015-10-01 23:00) # Distribution used to test : Ubuntu, Debian # Author : Rodrigo Pinto # Licence : GPLv3 # Changelog # (2015-10-01) 23:00 (Rodrigo Pinto) # - WowApp 5.0.0 with Wine 1.7.46 32bits # (2015-10-21) 17:00 (Rodrigo Pinto) # - Set arch to x86 # - Remove the Downloading dialog [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" POL_System_SetArch "x86" WINEVERSION="1.7.46" TITLE="WowApp" PREFIX="WowApp" SHORTCUT_NAME="WowApp" EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe" POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE" POL_SetupWindow_Init POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE" POL_SetupWindow_SetID 1135 which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')" if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')" POL_Debug_Warning "S3TC not enabled!" fi POL_Debug_Init POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE" FULL_INSTALLER="$APP_ANSWER" else # DOWNLOAD POL_System_TmpCreate "$PREFIX" DOWNLOAD_URL=$EXE_URL DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1" DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")" POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer" FULL_INSTALLER="$DOWNLOAD_FILE" fi POL_System_SetArch "x86" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$FULL_INSTALLER" Set_OS winxp # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver #install setupapi POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2" # Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/ #POL_Debug_Message "Installing setupapi" cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll" POL_Call POL_Function_OverrideDLL native setupapi POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" "" if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then # Free some disk space POL_System_TmpDelete fi POL_SetupWindow_Close exit 0 SvarÄndrat av petch |
rpinto | Thursday 22 October 2015 at 1:09 |
rpinto
|
WarningThis update has not been approved yet by the team. MeddelandenAdded a modification to make sure the arch is x86 Differences@@ -1,77 +1,73 @@ #!/bin/bash # Date : (2015-10-01) # Last revision : (2015-10-01 23:00) -# Distribution used to test : Ubuntu, Debian +# Distribution used to test : Ubuntu, Debian # Author : Rodrigo Pinto # Licence : GPLv3 -# WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/WowApp/ - + # Changelog -# (2015-10-01) 23:00 (Rodrigo Pinto) +# (2015-10-01) 23:00 (Rodrigo Pinto) # - WowApp 5.0.0 with Wine 1.7.46 32bits - +# (2015-10-21) 17:00 (Rodrigo Pinto) +# - Set arch to x86 +# - Remove the Downloading dialog + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + +POL_System_SetArch "x86" WINEVERSION="1.7.46" - + TITLE="WowApp" PREFIX="WowApp" SHORTCUT_NAME="WowApp" EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe" POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE" - + POL_SetupWindow_Init POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE" POL_SetupWindow_SetID 1135 - + which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')" - + if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')" POL_Debug_Warning "S3TC not enabled!" fi - + POL_Debug_Init - + POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp" - + POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" - + if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE" - + FULL_INSTALLER="$APP_ANSWER" else # DOWNLOAD POL_System_TmpCreate "$PREFIX" - + DOWNLOAD_URL=$EXE_URL DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1" DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")" - + POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer" - + FULL_INSTALLER="$DOWNLOAD_FILE" fi - + POL_System_SetArch "x86" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" - -#POL_Call POL_Install_corefonts -#POL_Call POL_Install_vcrun2005 -#POL_Call POL_Install_vcrun2008 -#POL_Call POL_Install_d3dx9 - -#Set_OS "win7" - + POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE" - + POL_Wine_WaitBefore "$TITLE" POL_Wine "$FULL_INSTALLER" - + Set_OS winxp @@ -81,7 +77,7 @@ #install setupapi POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi" -# Copy wineasio.dll.so to system32 folder in $WINEPREFIX, and register to $WINEPREFIX. Throw error if it fails. +# Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/ #POL_Debug_Message "Installing setupapi" cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll" @@ -91,12 +87,12 @@ POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" "" - + if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then # Free some disk space POL_System_TmpDelete fi - - + + POL_SetupWindow_Close exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2015-10-01) # Last revision : (2015-10-01 23:00) # Distribution used to test : Ubuntu, Debian # Author : Rodrigo Pinto # Licence : GPLv3 # Changelog # (2015-10-01) 23:00 (Rodrigo Pinto) # - WowApp 5.0.0 with Wine 1.7.46 32bits # (2015-10-21) 17:00 (Rodrigo Pinto) # - Set arch to x86 # - Remove the Downloading dialog [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" POL_System_SetArch "x86" WINEVERSION="1.7.46" TITLE="WowApp" PREFIX="WowApp" SHORTCUT_NAME="WowApp" EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe" POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE" POL_SetupWindow_Init POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE" POL_SetupWindow_SetID 1135 which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')" if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')" POL_Debug_Warning "S3TC not enabled!" fi POL_Debug_Init POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE" FULL_INSTALLER="$APP_ANSWER" else # DOWNLOAD POL_System_TmpCreate "$PREFIX" DOWNLOAD_URL=$EXE_URL DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1" DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")" POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer" FULL_INSTALLER="$DOWNLOAD_FILE" fi POL_System_SetArch "x86" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$FULL_INSTALLER" Set_OS winxp # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver #install setupapi POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi" # Copy setupapi.dll to App folder in $WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/ #POL_Debug_Message "Installing setupapi" cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll" POL_Call POL_Function_OverrideDLL native setupapi POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" "" if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then # Free some disk space POL_System_TmpDelete fi POL_SetupWindow_Close exit 0 SvarÄndrat av petch |
rpinto | Friday 2 October 2015 at 16:47 |
rpinto
|
WarningThis update has not been approved yet by the team. Differences@@ -5,73 +5,73 @@ # Author : Rodrigo Pinto # Licence : GPLv3 # WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/WowApp/ - + # Changelog # (2015-10-01) 23:00 (Rodrigo Pinto) # - WowApp 5.0.0 with Wine 1.7.46 32bits - + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + WINEVERSION="1.7.46" - + TITLE="WowApp" PREFIX="WowApp" SHORTCUT_NAME="WowApp" EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe" POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE" - + POL_SetupWindow_Init POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE" POL_SetupWindow_SetID 1135 - + which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')" - + if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')" POL_Debug_Warning "S3TC not enabled!" fi - + POL_Debug_Init - + POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp" - + POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" - + if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE" - + FULL_INSTALLER="$APP_ANSWER" else # DOWNLOAD POL_System_TmpCreate "$PREFIX" - + DOWNLOAD_URL=$EXE_URL DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1" DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")" - + POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer" - + FULL_INSTALLER="$DOWNLOAD_FILE" fi - + POL_System_SetArch "x86" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" - + #POL_Call POL_Install_corefonts #POL_Call POL_Install_vcrun2005 #POL_Call POL_Install_vcrun2008 #POL_Call POL_Install_d3dx9 - + #Set_OS "win7" - + POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE" - + POL_Wine_WaitBefore "$TITLE" POL_Wine "$FULL_INSTALLER" - + Set_OS winxp @@ -91,12 +91,12 @@ POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" "" - + if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then # Free some disk space POL_System_TmpDelete fi - - + + POL_SetupWindow_Close exit 0 \ No newline at end of file New source code#!/bin/bash # Date : (2015-10-01) # Last revision : (2015-10-01 23:00) # Distribution used to test : Ubuntu, Debian # Author : Rodrigo Pinto # Licence : GPLv3 # WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/WowApp/ # Changelog # (2015-10-01) 23:00 (Rodrigo Pinto) # - WowApp 5.0.0 with Wine 1.7.46 32bits [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" WINEVERSION="1.7.46" TITLE="WowApp" PREFIX="WowApp" SHORTCUT_NAME="WowApp" EXE_URL="http://cdn-rackspace.wowapp.com/pub/WowApp_Setup_Full_5.0.0.exe" POL_GetSetupImages "http://www.wowapp.com/images/logo.png" "http://www.wowapp.com/images/logo.png" "$TITLE" POL_SetupWindow_Init POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE" POL_SetupWindow_SetID 1135 which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')" if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')" POL_Debug_Warning "S3TC not enabled!" fi POL_Debug_Init POL_SetupWindow_presentation "WowApp" "Nobel INC" "https://www.wowapp.com/" "Rodrigo Pinto" "WowApp" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE" FULL_INSTALLER="$APP_ANSWER" else # DOWNLOAD POL_System_TmpCreate "$PREFIX" DOWNLOAD_URL=$EXE_URL DOWNLOAD_MD5="97742df7d130447fa6a69dff409dcab1" DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")" POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer" FULL_INSTALLER="$DOWNLOAD_FILE" fi POL_System_SetArch "x86" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" #POL_Call POL_Install_corefonts #POL_Call POL_Install_vcrun2005 #POL_Call POL_Install_vcrun2008 #POL_Call POL_Install_d3dx9 #Set_OS "win7" POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$FULL_INSTALLER" Set_OS winxp # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver #install setupapi POL_Download "http://downloadapp.wowapp.com/public/setupapi.dll" "24192246760e0e64435522e246b1d6c2" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Downloading...')" "setupapi" # Copy wineasio.dll.so to system32 folder in $WINEPREFIX, and register to $WINEPREFIX. Throw error if it fails. #POL_Debug_Message "Installing setupapi" cp setupapi.dll "$WINEPREFIX/drive_c/users/$USER/Application Data/WowApp/setupapi.dll" POL_Call POL_Function_OverrideDLL native setupapi POL_Shortcut "WowApp.exe" "$SHORTCUT_NAME" "" "-noupdate -renderer software" "" if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then # Free some disk space POL_System_TmpDelete fi POL_SetupWindow_Close exit 0 SvarFriday 2 October 2015 at 18:03
Ändrat av petch |
petch | Friday 2 October 2015 at 6:39 |
petch
|
MeddelandenHi, you forgot to attach the script, SvarFriday 2 October 2015 at 16:48
|