A poucos dias atrás descobri um script que automatiza e facilita a instalação do Adobe Photoshop CS4 no linux através do PlayOnLinux, pois achei muito legal e vim compartilhar com vocês!!
Para quem quiser aqui está ele:
#!/bin/bash
#INIT SCRIPT PLAYONLINUX.COM
#Is playonlinux running?
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
#Load & Check dependencies
source "$PLAYONLINUX/lib/sources"
cfg_check
#Cleaning temp directory:
cd $REPERTOIRE/tmp
rm *.*
##Translation:
if [ "$POL_LANG" == "fr" ]; then
INSTALL="En attente de l'installation de Photoshop CS4..."
FINISH="Photoshop CS4 à été installé avec succes."
FILELOCATION="Veuillez selectionner le fichier .exe d'installation."
else
INSTALL="Installing Photoshop CS4..."
FINISH="Photoshop CS4 has been sucessfully installed."
FILELOCATION="Please select the .exe installation file."
fi
#---------------------------------------------------------------------------------
#Script Begins Here
#---------------------------------------------------------------------------------
POL_SetupWindow_Init "" ""
#Setup Window
POL_SetupWindow_presentation "Adobe Photoshop CS4" "Adobe" "http://www.adobe.com/products/photoshop/?promoid=BPDEC" "ljmellor" "PSCS4"
#select wine version for install...
POL_SetupWindow_install_wine "1.1.17"
Use_WineVersion "1.1.17"
#Create Install Directory
select_prefix "$HOME/.PlayOnLinux/wineprefix/PSCS4/"
POL_SetupWindow_prefixcreate
POL_SetupWindow_reboot
#winetricks...
mkdir -p $REPERTOIRE/tmp/PSCS4
TEMPDIR="$REPERTOIRE/tmp/PSCS4"
wget http://www.kegel.com/wine/winetricks -P $TEMPDIR
bash $TEMPDIR/winetricks msxml6 gdiplus gecko vcrun2005 ie6
#Install Photoshop CS4
POL_SetupWindow_browse "$FILELOCATION" "Photoshop CS4"
FILE="$APP_ANSWER"
POL_SetupWindow_wait_next_signal "$INSTALL" "Photoshop CS4"
wine "$FILE"
POL_SetupWindow_detect_exit
#select wine version for running...
POL_SetupWindow_install_wine "1.1.22"
Set_WineVersion_Assign "1.1.22" "PSCS4"
#cleaning the folder of the temporary files
rm -r $TEMPDIR
#Shortcut
POL_SetupWindow_make_shortcut "PSCS4" "Program Files/Adobe/Adobe Photoshop CS4/" "Photoshop.exe" "" "PSCS4"
POL_SetupWindow_message "$FINISH" "Photoshop CS4"
POL_SetupWindow_Close
Copie para dentro de um editor de texto(gedit, etc.. ) e salve com o nome que desejar, mas lembrem-se,
Este script funciona somente no PlayOnLinux!!
Para fazer funcionar faça assim: Abra o
PlayOnLinux vá até a aba
Tools e em
Run a non-official script, agora é só abrir o script recém criado!!
__________________________________________________________________________________________________
Boa sorte a todos!
[]'s
Alyscom