Applications
Choose a category
Safari
Informations
This script is signed by PlayOnLinux.
Version : 5
Company : Apple
English :
Safari is a powerfull internet browser based on webkit engine. It can be useful if you want to test your website.
Français
Safari est un puissant navigateur Internet basé sur le moteur de rendu webkit. Il peut être utile si vous voulez tester votre site web
Source code
#!/bin/bash
# Date : (2009-09-11 13-00)
# Last revision : (2011-10-09 09-58)
# Wine version used : 1.3.17
# Distribution used to test : Ubuntu 10.04
# Author : Tinou
# Depend :
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
TITLE="Safari"
PREFIX="Safari"
WORKING_WINE_VERSION="1.3.17"
#POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/safari/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Apple" "http://www.apple.com/safari" "Tinou" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$PREFIX"
POL_Call POL_Install_vcrun2005
# Cette modif permet de contourner le crash de Safari au démarrage
mkdir -p "$WINEPREFIX/drive_c/users/$USER/Application Data/Apple Computer/Preferences"
cat << EOF > "$WINEPREFIX/drive_c/users/$USER/Application Data/Apple Computer/Preferences/com.apple.Safari.plist"
LastDisplayedWelcomePageVersionString
4.0
EOF
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
cd "$POL_System_TmpDir"
POL_Download "http://appldnld.apple.com.edgesuite.net/content.info.apple.com/Safari5/061-7138.20100607.Y7U87/SafariSetup.exe" "adc0089b8ce39971964812d9580ac077"
POL_SetupWindow_message "$(eval_gettext 'During the install process, please deselect\n"Install Bonjour for Windows" and "Automaticaly update Safari".')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Installation in progress...')" "$TITLE"
POL_Wine start /unix "SafariSetup.exe"
POL_Wine_WaitExit
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
POL_SetupWindow_message "$(eval_gettext 'During the install process, please deselect\n"Install Bonjour for Windows" and "Automaticaly update Safari".')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Installation in progress...')" "$TITLE"
POL_Wine start /unix "$APP_ANSWER"
POL_Wine_WaitExit
fi
POL_Call POL_Install_Flashplayer_Others
# Permet d'éviter le crash lors de la création d'un nouvel onglet
POL_Wine_Direct3D "PixelShaderMode" "disabled"
POL_System_TmpDelete
POL_Shortcut "Safari.exe" "$TITLE"
POL_SetupWindow_message "$(eval_gettext '$TITLE has been installed successfully.')" "$TITLE"
POL_SetupWindow_Close
exit
Signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAk6Re98ACgkQ5TH6yaoTykcQJgCfbYmbsj8zv3HLIyy+2+mqOXXr
cJkAn3oKaJdZxyu/gUcMd2M/3aItGcis
=uVhW
-----END PGP SIGNATURE-----
Date : 09 October 2011 12:47:59
Signed by : PlayOnLinux
E-Mail : gpg@playonlinux.com
Comment : PlayOnLinux and PlayOnMac scripting keys
Fingerprint : 45B56114D9EA1640D68135CCE531FAC9AA13CA47
Known install files