Het forum

7-zip

version:9.20

Auteur Antwoorden
jpcristian Zondag 27 Maart 2011 om 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 Zondag 27 Maart 2011 om 11:28
Quentin PÂRISAnonymous

What did you change ?
thib25 Woensdag 30 Maart 2011 om 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 Donderdag 31 Maart 2011 om 7:22
jpcristianAnonymous

The version
jpcristian Vrijdag 1 April 2011 om 7:57
jpcristianAnonymous

are there any problem with the script?
Je bent hier: Index > Your creations. > 7-zip