POL_GoG_setup
Informations
Creator | Message |
---|---|
Quentin PÂRIS
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 0 DescriptionAllow to select a GOG.com installer to run, locally or even downloaded from their website, if the PlayOnLinux version is sufficient to support this feature.
Source code#!/bin/bash # 1 : Game to download # 2.. : Md5sum(s) of piece(s) if [ "$POL_SELECTED_FILE" ]; then POL_Debug_Message "Using selected file" POL_GoG_location="$POL_SELECTED_FILE" else INSTALL_METHOD_BACK="$INSTALL_METHOD" BUG_4182="y" if [ -z "$BUG_4182" -a -n "$POL_WGET" ]; then # PlayOnLinux can understand GoG_Download POL_Debug_Message "PlayOnLinux can understand GoG_Download" POL_SetupWindow_InstallMethod LOCAL,DOWNLOAD else POL_Debug_Message "PlayOnLinux do not understand GoG_Download" INSTALL_METHOD="LOCAL" POL_SetupWindow_question "$(eval_gettext 'Do you want to download $TITLE from GOG.com?')" "$TITLE" [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.gog.com/gamecard/$GOGID" fi POL_Debug_Message "Install method $INSTALL_METHOD" if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then POL_Call POL_GoG_download "$@" fi 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" POL_GoG_location="$APP_ANSWER" fi INSTALL_METHOD="$INSTALL_METHOD_BACK" fi |
Contributions
Filters:
ContributeMember | Message |
petch | Wednesday 17 February 2016 at 20:05 |
petch
|
InformationThis update has been approved by the team. MessageReenabling GOG download, let's check if bug #4182 is fixed! Differences@@ -9,7 +9,7 @@ else INSTALL_METHOD_BACK="$INSTALL_METHOD" - #BUG_4182="y" + BUG_4182="y" if [ -z "$BUG_4182" -a -n "$POL_WGET" ]; then # PlayOnLinux can understand GoG_Download POL_Debug_Message "PlayOnLinux can understand GoG_Download" POL_SetupWindow_InstallMethod LOCAL,DOWNLOAD New source code#!/bin/bash # 1 : Game to download # 2.. : Md5sum(s) of piece(s) if [ "$POL_SELECTED_FILE" ]; then POL_Debug_Message "Using selected file" POL_GoG_location="$POL_SELECTED_FILE" else INSTALL_METHOD_BACK="$INSTALL_METHOD" BUG_4182="y" if [ -z "$BUG_4182" -a -n "$POL_WGET" ]; then # PlayOnLinux can understand GoG_Download POL_Debug_Message "PlayOnLinux can understand GoG_Download" POL_SetupWindow_InstallMethod LOCAL,DOWNLOAD else POL_Debug_Message "PlayOnLinux do not understand GoG_Download" INSTALL_METHOD="LOCAL" POL_SetupWindow_question "$(eval_gettext 'Do you want to download $TITLE from GOG.com?')" "$TITLE" [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.gog.com/gamecard/$GOGID" fi POL_Debug_Message "Install method $INSTALL_METHOD" if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then POL_Call POL_GoG_download "$@" fi 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" POL_GoG_location="$APP_ANSWER" fi INSTALL_METHOD="$INSTALL_METHOD_BACK" fi RepliesEdited by Tinou |
petch | Thursday 5 February 2015 at 21:52 |
petch
|
WarningThis update has not been approved yet by the team. MessageDownload broken in ages, disabling it Differences@@ -8,8 +8,9 @@ POL_GoG_location="$POL_SELECTED_FILE" else INSTALL_METHOD_BACK="$INSTALL_METHOD" - - if [ -n "$POL_WGET" ]; then # PlayOnLinux can understand GoG_Download + + BUG_4182="y" + if [ -z "$BUG_4182" -a -n "$POL_WGET" ]; then # PlayOnLinux can understand GoG_Download POL_Debug_Message "PlayOnLinux can understand GoG_Download" POL_SetupWindow_InstallMethod LOCAL,DOWNLOAD else New source code#!/bin/bash # 1 : Game to download # 2.. : Md5sum(s) of piece(s) if [ "$POL_SELECTED_FILE" ]; then POL_Debug_Message "Using selected file" POL_GoG_location="$POL_SELECTED_FILE" else INSTALL_METHOD_BACK="$INSTALL_METHOD" BUG_4182="y" if [ -z "$BUG_4182" -a -n "$POL_WGET" ]; then # PlayOnLinux can understand GoG_Download POL_Debug_Message "PlayOnLinux can understand GoG_Download" POL_SetupWindow_InstallMethod LOCAL,DOWNLOAD else POL_Debug_Message "PlayOnLinux do not understand GoG_Download" INSTALL_METHOD="LOCAL" POL_SetupWindow_question "$(eval_gettext 'Do you want to download $TITLE from GOG.com?')" "$TITLE" [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "http://www.gog.com/gamecard/$GOGID" fi POL_Debug_Message "Install method $INSTALL_METHOD" if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then POL_Call POL_GoG_download "$@" fi 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" POL_GoG_location="$APP_ANSWER" fi INSTALL_METHOD="$INSTALL_METHOD_BACK" fi Replies |
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