Skip to content

Instantly share code, notes, and snippets.

@souhaiebtar
Forked from PedroHLC/photoshop.pol.sh
Created April 21, 2019 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save souhaiebtar/0e2c5d0a383da5985002ed3819bb4b50 to your computer and use it in GitHub Desktop.
Save souhaiebtar/0e2c5d0a383da5985002ed3819bb4b50 to your computer and use it in GitHub Desktop.
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