Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PlayOnLinux script for installing any photoshop version (x86) using winetricks
#!/bin/bash
# Create wineprefix using this script, install Photoshop, do not run it, then change wine version to '1.7.41-PhotoshopBrushes' emulating 'win7'
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
PREFIX='Photoshop'
WINEVERSION='1.9.3-staging'
TITLE='Adobe Photoshop'
EDITOR='Adobe Systems Inc.'
GAME_URL='http://www.adobe.com'
AUTHOR='PedroHLC'
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch 'x86'
export WINEARCH='win32'
POL_Wine_PrefixCreate "$WINEVERSION"
# Dependencies (winetricks handle them better)
Set_OS 'winxp'
winetricks -q \
mdac28 jet40 msxml3 msxml6 \
vcrun6sp6 vcrun2003 vcrun2005sp1 vcrun2008
Set_OS 'win7'
winetricks -q \
atmlib gdiplus \
vcrun2010
POL_Call POL_Install_vcrun2012
POL_Call POL_Install_vcrun2013
winetricks -q \
vcrun2015 \
fontsmooth-rgb corefonts tahoma
POL_Call POL_Install_AdobeAir
# Configuration
Set_OS 'win2008'
# Finish
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.