POL_GoG_install

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 667840
Wine: System

Feedbacks

Description

Prepare virtual drive to run GOG.com installers (v1 and v2)

Calls the executable named in $POL_GoG_location environment variable.

Any parameters are passed along to the installer. Useful values:
- "/nogui": disables GOG skinning, works around winproc leak issue that make it crash under Wine on large games

- Sets $GOGROOT to the root directory of GOG installations (C:\\GOG Games for v2, C:\\Program Files\\GOG.com for v1)

Source code

# Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix
POL_Call POL_Function_SetNativeExtension "pdf"

# Required for installer v2
POL_Call POL_Install_gdiplus

POL_Wine_WaitBefore "$TITLE"

POL_Wine "$POL_GoG_location" "$@" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"

GOGROOT="$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com"
[ -d "$GOGROOT" ] || GOGROOT="$WINEPREFIX/drive_c/GOG Games"

Contributions

Filters:

Contribute
Member Message