POL_GoG_install

Informations

Créateur Messages
petch

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 678385
Wine: System

Retours d'expérience

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)

Code source

# 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:

Contribuer
Membre Messages

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