Vous êtes ici
POL_GoG_Extract
Informations
Créateur | Messages |
---|---|
Quentin PÂRIS
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience0 0 Description# Extract a GoG setup file
Code sourceif [ "$3" = "" ]; then GoGName="$TITLE" else GoGName="$3" fi RESOURCE_TO_EXTRACT="$1" if [ ! "${RESOURCE_TO_EXTRACT::1}" = "/" ]; then RESOURCE_TO_EXTRACT="$PWD/$RESOURCE_TO_EXTRACT" fi POL_Download_Resource "$SITE/innounp.exe" "d631cc74216ca4cc1adb2a73af959616" POL_EXTRACT="wine $POL_USER_ROOT/ressources/innounp.exe" FinalSize="$2" cd "$WINEPREFIX/drive_c" $POL_EXTRACT -y -x "$RESOURCE_TO_EXTRACT" & pid="$(ps aux | grep innounp.exe | grep -v grep | tail -n 1 | awk '{print $2}')" POL_Wine_WaitBefore "$TITLE" sleep 5 if [ ! -e "{tmp}" -a ! -e "{app}" ]; then POL_Debug_Fatal "Failed to extract" fi echo $pid ps aux | grep $pid POL_SetupWindow_DirectoryProgress "$PWD/{app}" "$2" "$pid" POL_SetupWindow_licence "$(eval_gettext 'Please read this')" "$TITLE" "$PWD/{tmp}/gog_eula.txt" echo "Ok" rm -rf "$PWD/{tmp}" mv "$PWD/{app}" "$PWD/$GoGName" |
Contributions
Filters:
ContribuerMembre | Messages |
FuzzyToothpaste | Mardi 16 September 2014 à 2:58 |
FuzzyToothpaste
|
MessagesTo match up with other POL_GoG scripts, please change the name from POL_GoG_Extract to POL_GoG_extract. RéponsesMardi 16 September 2014 à 20:55
|
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