#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_SetupWindow_presentation "Google SketchUp" "Google" "http://sketchup.google.com/" "bastien09" "GoogleSketchUp"
select_prefixe "$REPERTOIRE/wineprefix/GoogleSketchUp/"
POL_SetupWindow_prefixcreate
POL_SetupWindow_install_wine "0.9.47"
cd $REPERTOIRE/tmp
POL_SetupWindow_download "Patientez pendant le téléchargement de Google SketchUp..." "Google sketchup" "http://dl.google.com/sketchup/gsu6/GoogleSketchUpWFR.exe"
POL_SetupWindow_wait_next_signal "Patientez pendant l'installatin de Google Sketchup" "Google Sktchup"
wine "GoogleSketchUpWFR.exe" /silent
POL_SetupWindow_detect_exit
POL_SetupWindow_make_shortcut "GoogleSketchUp" "Program Files/Google/Google SketchUp 6" "SketchUp.exe" "" "Google SketchUp"
Set_WineVersion_Assign "0.9.47" "Google SketchUp"
POL_SetupWindow_message "Installation terminée" "Google sketchup"
POL_SetupWindow_Close
exit