Forums

7-zip

version:9.20

Auteur Réponses
jpcristian Dimanche 27 Mars 2011 à 8:57
jpcristianAnonymous

An update of the script :
http://www.playonmac.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 Dimanche 27 Mars 2011 à 11:28
Quentin PÂRISAnonymous

What did you change ?
thib25 Mercredi 30 Mars 2011 à 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 Jeudi 31 Mars 2011 à 7:22
jpcristianAnonymous

The version
jpcristian Vendredi 1 Avril 2011 à 7:57
jpcristianAnonymous

are there any problem with the script?
Vous êtes ici: Index > Your creations. > 7-zip

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 dmcayonlinux.com