El Foro

7-zip

version:9.20

Autor Respuestas
jpcristian Sunday 27 March 2011 at 8:57
jpcristianAnonymous

An update of the script :
http://www.playonlinux.com/repository/?script=373

    #!/bin/bash
    # Date : (2010-02-27  19-10)
    # Last revision : (2011-03-16 19-10)
    # Wine version used : 1.1.39
    # Distribution used to test : archlinux
    # Author : thib25, jpcristian
    # Licence : Gnu LGP
     
    [ "$PLAYONLINUX" = "" ] && exit 0
    source "$PLAYONLINUX/lib/sources"
     
    NAME="7-Zip"
    PREFIX="7zip"
    URL="http://downloads.sourceforge.net/sevenzip/7z920.exe"
     
    if [ "$POL_LANG" == "fr" ]; then
    DOWNLOAD="Téléchargement en cours..."
    INSTALLATION="Installation en cours..."
    POLEND="$NAME a été installé avec succès"
    else
    DOWNLOAD="Download in progress..."
    INSTALLATION="Installation in progress..."
    POLEND="$NAME has been installed succesfully"
    fi
     
    wget http://www.7-zip.org/logos/7z_gr01.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
    convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\\! "$REPERTOIRE/tmp/left.jpeg"
     
    wget http://www.7-zip.org/logos/7z_rm01.jpg --output-document="$REPERTOIRE/tmp/topnotscaled.jpeg"
    convert "$REPERTOIRE/tmp/topnotscaled.jpeg" -scale 60x60\\! "$REPERTOIRE/tmp/top.jpeg"
     
    POL_SetupWindow_Init "$REPERTOIRE/tmp/top.jpeg" "$REPERTOIRE/tmp/left.jpeg"
     
    POL_SetupWindow_presentation "$NAME" "7-zip.org" "http://www.7-zip.org/" "thib25" "$PREFIX"
     
    select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
    POL_SetupWindow_prefixcreate
     
    POL_SetupWindow_install_wine "1.1.39"
     
    PROGRAMFILES="Program Files"
    POL_LoadVar_PROGRAMFILES
     
    cd "$REPERTOIRE/tmp/"
     
    POL_SetupWindow_download "$DOWNLOAD" "$NAME" "$URL"
     
    POL_SetupWindow_wait_next_signal "$INSTALLATION" "$NAME"
    wine "7z920.exe"
    POL_SetupWindow_detect_exit
     
    rm -rf 7z920.exe
     
    POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/7-Zip" "7zFM.exe" "" "$NAME"
     
    Set_WineVersion_Assign "1.1.39" "$NAME"
     
    POL_SetupWindow_message "$POLEND" "$NAME"
     
    POL_SetupWindow_Close
    exit

Quentin PÂRIS Sunday 27 March 2011 at 11:28
Quentin PÂRIS
Admin

What did you change ?
thib25 Wednesday 30 March 2011 at 8:37
thib25Anonymous

Il a juste mis à jour le programme de la version 4.65 à la 9.20.

He had just update the software from the 4.65 version to 9.20.
jpcristian Thursday 31 March 2011 at 7:22
jpcristianAnonymous

The version
jpcristian Friday 1 April 2011 at 7:57
jpcristianAnonymous

are there any problem with the script?
Estas Aqui: Index > Your creations. > 7-zip