Vous êtes ici > Les forums > Vos créations > Pronote 2011 sv ru pl es en

Les forums

Pronote 2011

Nouveau  - Répondre
Auteur Posts
teratani Le Lundi 31 Octobre 2011 à 14:49 - [Citer]
Membre

Membre
Bonjour à tous,

j'avais besoin du logiciel Pronote pour le boulot.
En m'inspirant plus que fortement du code de Tinou, j'ai crée un petit script qui semble fonctionner. Le programme existe juste en français et ne servira pas à grand monde mais puisque c'est fait je vous le soumets. Par contre ce n'est certainement pas très propre vu que c'est une première tentative.



#!/bin/bash
# Date : (2011-10-31 14:00)
# Last revision : N/A
# Wine version used : 1.3.30
# Distribution used to test : Ubuntu 11.10
# Author : Tinou
# Licence : Retail
# Only For : http://www.playonlinux.com

 [ "$PLAYONLINUX" = "" ] && exit 0
    source "$PLAYONLINUX/lib/sources"
     
    PREFIX="PRONOTE2011"
    TITLE="PRONOTE 2011"
    URL="http://tele2.index-education.com/telechargement/pn/v21.0/exe/Install_PRNclient_FR2100008.exe"
    WORKING_WINE_VERSION="1.3.30"
    
    DOWNLOAD="Téléchargement de PRONOTE 2011 en cours..."
    END="$TITLE a été installé correctement"
 
    # Début du script
    POL_GetSetupImages "http://www.index-education.com/fr/img/logoAccueil.png" "http://www.index-education.com/fr/img/logoAccueil.png" "$TITLE"
     
    POL_Debug_Init
    POL_SetupWindow_Init
     
    POL_SetupWindow_presentation "$TITLE" "Index-Education.com" "www.index-education.com" "Tinou" "$PREFIX"
    
    # Création du préfix 
    POL_System_SetArch "auto"
    POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"    
       
    # Préparation de l'installation
    Set_OS "win7"

    # Téléchargement du programme
    cd "$POL_USER_ROOT/tmp/"
    POL_SetupWindow_download "$DOWNLOAD" "$TITLE" "$URL"
 
    # Installation
    cd "$POL_USER_ROOT/tmp/"
    POL_Wine "Install_PRNclient_FR2100008.exe"
    
    # Nettoyage du dossier temporaire
    cd "$POL_USER_ROOT/tmp/"
    rm -rf Install_PRNclient_FR2100008.exe
         
    # Création du raccourci
    POL_Shortcut "Client PRONOTE 2011.exe" "PRONOTE 2011"    

    POL_SetupWindow_message "$TITLE a été installé avec succès." "$TITLE"
 
    POL_SetupWindow_Close
    exit



description : http://www.megaupload.com/?d=8QKUSZTB

Edité par teratani

Quentin PÂRIS Le Lundi 31 Octobre 2011 à 15:31 - [Citer]
Admin

Admin
Ça m'a l'air pas mal du tout

Juste quelques trucs a changer au niveau des langues pour pouvoir le mettre avec les autres scripts (on est de plus en plus maniaque :-p)

Je m'occupe de ça quand j'ai 5 minutes

Merci beaucoup
debimax Le Jeudi 24 Novembre 2011 à 15:41 - [Citer]
Membre

Membre
bonjour

Je viens de tester ton script et c'est ok.

J'ai par contre toujours le même pbm qu'avant, il faut désactiver la correction automatique sinon on ne peut pas voir ce que l'on écrit.
Vous êtes ici: Index > Vos créations > Pronote 2011
Il n'y a rien à voir ici